Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
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 | ||
return | null | string |
public getVpidForEntity ( $entityName, $id ) : null | string | ||
$entityName | ||
$id | ||
return | null | string |
public replaceForeignKeysWithReferences ( $entityName, $entity ) |