Метод | Описание | |
---|---|---|
__construct ( string $directory, |
DirectoryStorage constructor. | |
commit ( ) | ||
delete ( $restriction ) | ||
entityExistedBeforeThisRequest ( $data ) | ||
exists ( $id, $parentId = null ) | ||
getEntityFilename ( $id, $parentId = null ) | ||
getPathCommonToAllEntities ( ) | ||
loadAll ( ) | ||
loadEntity ( $id, $parentId = null ) | ||
prepareStorage ( ) | ||
save ( $data ) | ||
saveLater ( $data ) |
Метод | Описание | |
---|---|---|
removeUnwantedColumns ( $entity ) |
Метод | Описание | |
---|---|---|
createChangeInfo ( $oldEntity, $newEntity, $action ) | ||
getEntityFiles ( ) | ||
loadAllFromFiles ( $entityFiles ) |
public __construct ( string $directory, |
||
$directory | string | |
$entityInfo | ||
$dbPrefix | string | |
$changeInfoFactory |