Свойство | Type | Description | |
---|---|---|---|
$keyName | |||
$valueName |
Méthode | Description | |
---|---|---|
__construct ( |
||
commit ( ) | ||
delete ( $restriction ) | ||
exists ( $vpId, $parentId ) | ||
getEntityFilename ( $vpId, $parentId ) | ||
getPathCommonToAllEntities ( ) | ||
loadAll ( ) | ||
loadEntity ( $id, $parentId ) | ||
loadEntityByName ( $name, $parentId ) | ||
prepareStorage ( ) | ||
save ( $data ) | ||
saveLater ( $data ) | ||
shouldBeSaved ( $data ) |
Méthode | Description | |
---|---|---|
createChangeInfoWithParentEntity ( $oldEntity, $newEntity, $oldParentEntity, $newParentEntity, $action ) | ||
createJoinedKey ( $key, $vpId ) : string | Returns $key#$vpId from $key and $vpId inputs. | |
extractEntityFromParentByName ( $parentEntity, $name ) | ||
extractEntityFromParentByVpId ( $parentEntity, $vpId ) : array | null | ||
splitJoinedKey ( $key ) : array | Splits joined key $key#$vpId into array. |
Méthode | Description | |
---|---|---|
extractEntityFromParent ( $parentEntity, $joinedKey ) | ||
getJoinedKeyByName ( $parent, $name ) : string | null | Finds a joined key with given VPID within the parent entity. | |
getJoinedKeyByVpId ( $parent, $vpId ) : string | null | Finds a joined key with given VPID within the parent entity. | |
transformToParentEntityField ( $values ) |
public __construct ( |
||
$parentStorage | ||
$entityInfo |
protected createChangeInfoWithParentEntity ( $oldEntity, $newEntity, $oldParentEntity, $newParentEntity, $action ) |
protected createJoinedKey ( $key, $vpId ) : string | ||
$key | ||
$vpId | ||
Résultat | string |
protected extractEntityFromParentByName ( $parentEntity, $name ) |
protected extractEntityFromParentByVpId ( $parentEntity, $vpId ) : array | null | ||
$parentEntity | ||
$vpId | ||
Résultat | array | null |
protected splitJoinedKey ( $key ) : array | ||
$key | ||
Résultat | array |