프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$keyName | |||
$valueName |
메소드 | 설명 | |
---|---|---|
__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 ) |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | string |
protected extractEntityFromParentByName ( $parentEntity, $name ) |
protected extractEntityFromParentByVpId ( $parentEntity, $vpId ) : array | null | ||
$parentEntity | ||
$vpId | ||
리턴 | array | null |
protected splitJoinedKey ( $key ) : array | ||
$key | ||
리턴 | array |