first
This commit is contained in:
@ -0,0 +1,28 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user