init
This commit is contained in:
45
mysyde/common/interfaces/ModelDBConfigInterface.php
Normal file
45
mysyde/common/interfaces/ModelDBConfigInterface.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace DynCom\mysyde\common\interfaces;
|
||||
/**
|
||||
* Interface DynCom\mysyde\common\interfaces\ModelDBConfigInterface
|
||||
*/
|
||||
interface ModelDBConfigInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTableName();
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getAltPrimary();
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getMappedFields();
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getAllowedComparisonOperators();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getModelClassName();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getBaseTableName();
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
* @return bool
|
||||
*/
|
||||
public function fieldExists($name);
|
||||
}
|
||||
Reference in New Issue
Block a user