메소드 | 설명 | |
---|---|---|
__construct ( $database, |
||
deleteId ( $entityName, $id ) | ||
getIdForVpid ( $vpid ) | ||
getMenuReference ( $postmeta ) : null | string | Function used in schema.yml. | |
getVpidForEntity ( $entityName, $id ) : null | string | Returns VPID of entity of given type and id. | |
identifyEntity ( $entityName, $data, $id ) | ||
replaceForeignKeysWithReferences ( $entityName, $entity ) | ||
restoreForeignKeys ( $entityName, $entity ) |
메소드 | 설명 | |
---|---|---|
fillId ( $entityName, $data, $id ) | ||
isNullReference ( $id ) | ||
replaceIdsInString ( $targetEntity, $stringWithIds ) | ||
restoreIdsInString ( $stringWithVpids ) | ||
saveId ( $entityName, $id, $vpId ) |
public __construct ( $database, |
||
$schemaInfo |
public static getMenuReference ( $postmeta ) : null | string | ||
$postmeta | ||
리턴 | null | string |
public getVpidForEntity ( $entityName, $id ) : null | string | ||
$entityName | ||
$id | ||
리턴 | null | string |
public replaceForeignKeysWithReferences ( $entityName, $entity ) |