PHP Class VersionPress\Storages\MnReferenceStorage

It supports only saving and deleting. Other methods are not supported as the storage doesn't really work with entities.
Inheritance: extends Storage
ファイルを表示 Open project: versionpress/versionpress Class Usage Examples

Public Methods

Method Description
__construct ( Storage $parentStorage, array $referenceDetails )
commit ( )
delete ( $restriction )
exists ( $id, $parentId )
getEntityFilename ( $id, $parentId )
getPathCommonToAllEntities ( )
loadAll ( )
loadEntity ( $id, $parentId )
prepareStorage ( )
save ( $data )
saveLater ( $data )

Method Details

__construct() public method

public __construct ( Storage $parentStorage, array $referenceDetails )
$parentStorage Storage
$referenceDetails array

commit() public method

public commit ( )

delete() public method

public delete ( $restriction )

exists() public method

public exists ( $id, $parentId )

getEntityFilename() public method

public getEntityFilename ( $id, $parentId )

getPathCommonToAllEntities() public method

loadAll() public method

public loadAll ( )

loadEntity() public method

public loadEntity ( $id, $parentId )

prepareStorage() public method

public prepareStorage ( )

save() public method

public save ( $data )

saveLater() public method

public saveLater ( $data )