메소드 |
설명 |
|
__construct ( Database $db ) |
Constructor |
|
add ( string $type, string $subtype, string $class = "" ) : integer |
Register \ElggEntities with a certain type and subtype to be loaded as a specific class. |
|
getClass ( string $type, string $subtype ) : string | null |
Return the class name for a registered type and subtype. |
|
getClassFromId ( integer $subtype_id ) : string | null |
Returns the class name for a subtype id. |
|
getId ( string $type, string $subtype ) : integer |
Return the id for a given subtype. |
|
getSubtype ( integer $subtype_id ) : string | false |
Gets the denormalized string for a given subtype ID. |
|
remove ( string $type, string $subtype ) : boolean |
Removes a registered \ElggEntity type, subtype, and classname. |
|
retrieveFromCache ( string $type, string $subtype ) : stdClass | null |
Retrieve subtype from the cache. |
|
setCachedValues ( array $values ) : void |
Set the cached values from the boot data |
|
update ( string $type, string $subtype, string $class = '' ) : boolean |
Update a registered \ElggEntity type, subtype, and class name |
|