프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_config | object | instance of the config class |
메소드 | 설명 | |
---|---|---|
construct ( |
constructor of the class | |
countTablePrefix ( ) : |
count table with prefix | |
findFlatArray ( string $key = 'id' ) : array | find a flat array | |
forTablePrefix ( string $table = null, string $connection = self::DEFAULT_CONNECTION ) : |
for table with prefix | |
getSetting ( string $key = null ) : mixed | get the setting | |
getStatus ( ) : integer | get the database status | |
init ( ) | init the class | |
leftJoinPrefix ( string $table = null, string $constraint = null, string $tableAlias = null ) : |
left join with prefix | |
limitGlobal ( ) : |
limit according to global setting | |
orderGlobal ( string $column = null ) : |
order according to global setting | |
rawInstance ( ) : |
raw instance helper | |
setSetting ( string $key = null, string $value = null ) : boolean | set the setting | |
whereLanguageIs ( array $language = null ) : |
where language is | |
whereLikeMany ( array $columnArray = null, array $likeArray = null ) : |
where like with many |
public static construct ( |
||
$config | instance of the config class |
public findFlatArray ( string $key = 'id' ) : array | ||
$key | string | key of the item |
리턴 | array |
public static forTablePrefix ( string $table = null, string $connection = self::DEFAULT_CONNECTION ) : |
||
$table | string | name of the table |
$connection | string | which connection to use |
리턴 |
public getSetting ( string $key = null ) : mixed | ||
$key | string | key of the item |
리턴 | mixed |
public orderGlobal ( string $column = null ) : |
||
$column | string | name of the column |
리턴 |
public whereLanguageIs ( array $language = null ) : |
||
$language | array | value of the language |
리턴 |
public whereLikeMany ( array $columnArray = null, array $likeArray = null ) : |
||
$columnArray | array | array of column names |
$likeArray | array | array of the like |
리턴 |