wp_back/wp-content/plugins/smart-slider-3/Nextend/Framework/Model/AbstractModelTable.php

28 lines
551 B
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?php
namespace Nextend\Framework\Model;
use Nextend\Framework\Database\AbstractPlatformConnectorTable;
abstract class AbstractModelTable extends AbstractModel {
/**
* @var AbstractPlatformConnectorTable
*/
protected $table;
protected function init() {
$this->table = $this->createConnectorTable();
}
/**
* @return AbstractPlatformConnectorTable
*/
protected abstract function createConnectorTable();
public function getTableName() {
return $this->table->getTableName();
}
}