메소드 |
설명 |
|
__clone ( ) |
Prevent cloning of the object (Singleton) |
|
count ( ) : integer |
Count the elements |
|
fetch ( string $strTable, mixed $varKey, string $strAlias = null ) : Model | null |
Fetch a model by table name and primary key |
|
fetchByAlias ( string $strTable, string $strAlias, mixed $varValue ) : Model | null |
Fetch a model by one of its aliases |
|
getInstance ( ) : static |
Return the current object instance (Singleton) |
|
isRegistered ( Model $objModel ) : boolean |
Check if a model is registered |
|
isRegisteredAlias ( Model $objModel, string $strAlias, mixed $varValue ) : boolean |
Check if an alias is registered |
|
register ( Model $objModel ) |
Register a model in the registry |
|
registerAlias ( Model $objModel, string $strAlias, mixed $varValue ) |
Register an alias for a model |
|
unregister ( Model $objModel ) |
Unregister a model from the registry |
|
unregisterAlias ( Model $objModel, string $strAlias, mixed $varValue ) |
Unregister an alias |
|