PHP Class Pimcore\Model\Document\PageSnippet\Dao

Inheritance: extends Pimcore\Model\Document\Dao
Datei anzeigen Open project: pimcore/pimcore Class Usage Examples

Public Methods

Method Description
delete ( ) Delete the object from database
deleteAllElements ( ) : void Delete all elements containing the content (tags) from the database
getElements ( ) : void Get all elements containing the content (tags) from the database
getLatestVersion ( boolean $force = false ) : array Get latest available version, using $force always returns a version no matter if it is the same as the published one
getVersions ( ) : array Get available versions fot the object and return an array of them

Method Details

delete() public method

Delete the object from database
public delete ( )

deleteAllElements() public method

Delete all elements containing the content (tags) from the database
public deleteAllElements ( ) : void
return void

getElements() public method

Get all elements containing the content (tags) from the database
public getElements ( ) : void
return void

getLatestVersion() public method

Get latest available version, using $force always returns a version no matter if it is the same as the published one
public getLatestVersion ( boolean $force = false ) : array
$force boolean
return array

getVersions() public method

Get available versions fot the object and return an array of them
public getVersions ( ) : array
return array