Property | Type | Description | |
---|---|---|---|
$keyName | |||
$valueName |
Method | 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 ) |
Method | 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. |
Method | 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 | ||
return | string |
protected extractEntityFromParentByName ( $parentEntity, $name ) |
protected extractEntityFromParentByVpId ( $parentEntity, $vpId ) : array | null | ||
$parentEntity | ||
$vpId | ||
return | array | null |
protected splitJoinedKey ( $key ) : array | ||
$key | ||
return | array |