Public Member Functions | |
| getParent () | |
| The parent storage for this one. | |
| getTypeName () | |
| The type this object is managing. | |
| addMember (spunQ_Member $member) | |
| Adds a member to this type. | |
| getMemberStorage ($name, $throwException=true) | |
| Will get a single member storage for the member with given name. | |
| getMemberStorageRecursively ($name, $throwException=true) | |
| Like getMemberStorage(), but searches parent storages, too. | |
| getMemberStorages () | |
| Gets all MemberStorages for this type, mapped by their member names. | |
| getMemberStoragesRecursively () | |
| Like getMemberStorages(), but returns parent type storages members, too. | |
Definition at line 9 of file ITypeStorage.interface.php.
| spunQ_ITypeStorage::addMember | ( | spunQ_Member $ | member | ) |
Adds a member to this type.
| $member | The member to add |
| spunQ_ITypeStorage::getMemberStorage | ( | $ | name, | |
| $ | throwException = true | |||
| ) |
Will get a single member storage for the member with given name.
| $name | The name of the member. | |
| $throwException | Whether the function should throw an exception if the member was not found. Will return NULL if false and member storage was not found. |
| spunQ_DatabaseException | If member storage does not exist. |
| spunQ_ITypeStorage::getMemberStorageRecursively | ( | $ | name, | |
| $ | throwException = true | |||
| ) |
Like getMemberStorage(), but searches parent storages, too.
| $name | The name of the member. | |
| $throwException | Whether the function should throw an exception if the member was not found. Will return NULL if false and member storage was not found. |
| spunQ_DatabaseException | If member storage does not exist. |
| spunQ_ITypeStorage::getMemberStorages | ( | ) |
Gets all MemberStorages for this type, mapped by their member names.
| spunQ_ITypeStorage::getMemberStoragesRecursively | ( | ) |
Like getMemberStorages(), but returns parent type storages members, too.
| spunQ_ITypeStorage::getParent | ( | ) |
| spunQ_ITypeStorage::getTypeName | ( | ) |
The type this object is managing.
1.5.9