PHP Class Pimcore\Model\Search\Backend\Data

Inheritance: extends Pimcore\Model\AbstractModel
Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$creationDate integer timestamp of creation date
$data string
$fullPath string
$id Pimcore\Model\Search\Backend\Data\Id
$maintype string document | object | asset
$modificationDate integer timestamp of modification date
$properties string
$published boolean published or not
$subtype string currently only relevant for objects where it portrays the class name
$type string ..)
$userModification integer User-ID of the user last modified the element
$userOwner integer User-ID of the owner

Public Methods

Method Description
__construct ( null $element = null )
delete ( )
getCreationDate ( ) : integer
getDao ( ) : Pimcore\Model\Dao\AbstractDao
getData ( ) : string
getForElement ( $element ) : Data
getFullPath ( ) : string
getId ( ) : Pimcore\Model\Search\Backend\Data\Id
getModificationDate ( ) : integer
getProperties ( ) : string
getPublished ( ) : boolean
getSubtype ( ) : string
getType ( ) : string
getUserModification ( ) : integer
getUserOwner ( ) : integer
isPublished ( ) : boolean
save ( )
setCreationDate ( $creationDate )
setData ( string $data ) : void
setDataFromElement ( $element )
setFullPath ( string $fullpath )
setId ( $id )
setModificationDate ( integer $modificationDate ) : void
setProperties ( string $properties ) : void
setPublished ( integer $published ) : void
setSubtype ( $subtype )
setType ( $type )
setUserModification ( integer $userModification ) : void
setUserOwner ( integer $userOwner ) : void

Protected Methods

Method Description
cleanupData ( $data ) : mixed | string

Method Details

__construct() public method

public __construct ( null $element = null )
$element null

cleanupData() protected method

protected cleanupData ( $data ) : mixed | string
$data
return mixed | string

delete() public method

public delete ( )

getCreationDate() public method

public getCreationDate ( ) : integer
return integer

getDao() public method

public getDao ( ) : Pimcore\Model\Dao\AbstractDao
return Pimcore\Model\Dao\AbstractDao

getData() public method

public getData ( ) : string
return string

getForElement() public static method

public static getForElement ( $element ) : Data
$element
return Data

getFullPath() public method

public getFullPath ( ) : string
return string

getId() public method

public getId ( ) : Pimcore\Model\Search\Backend\Data\Id
return Pimcore\Model\Search\Backend\Data\Id

getModificationDate() public method

public getModificationDate ( ) : integer
return integer

getProperties() public method

public getProperties ( ) : string
return string

getPublished() public method

public getPublished ( ) : boolean
return boolean

getSubtype() public method

public getSubtype ( ) : string
return string

getType() public method

public getType ( ) : string
return string

getUserModification() public method

public getUserModification ( ) : integer
return integer

getUserOwner() public method

public getUserOwner ( ) : integer
return integer

isPublished() public method

public isPublished ( ) : boolean
return boolean

save() public method

public save ( )

setCreationDate() public method

public setCreationDate ( $creationDate )
$creationDate

setData() public method

public setData ( string $data ) : void
$data string
return void

setDataFromElement() public method

public setDataFromElement ( $element )
$element

setFullPath() public method

public setFullPath ( string $fullpath )
$fullpath string

setId() public method

public setId ( $id )
$id

setModificationDate() public method

public setModificationDate ( integer $modificationDate ) : void
$modificationDate integer
return void

setProperties() public method

public setProperties ( string $properties ) : void
$properties string
return void

setPublished() public method

public setPublished ( integer $published ) : void
$published integer
return void

setSubtype() public method

public setSubtype ( $subtype )
$subtype

setType() public method

public setType ( $type )
$type

setUserModification() public method

public setUserModification ( integer $userModification ) : void
$userModification integer
return void

setUserOwner() public method

public setUserOwner ( integer $userOwner ) : void
$userOwner integer
return void

Property Details

$creationDate public property

timestamp of creation date
public int $creationDate
return integer

$data public property

public string $data
return string

$fullPath public property

public string $fullPath
return string

$id public property

public Id,Pimcore\Model\Search\Backend\Data $id
return Pimcore\Model\Search\Backend\Data\Id

$maintype public property

document | object | asset
public string $maintype
return string

$modificationDate public property

timestamp of modification date
public int $modificationDate
return integer

$properties public property

public string $properties
return string

$published public property

published or not
public bool $published
return boolean

$subtype public property

currently only relevant for objects where it portrays the class name
public string $subtype
return string

$type public property

..)
public string $type
return string

$userModification public property

User-ID of the user last modified the element
public int $userModification
return integer

$userOwner public property

User-ID of the owner
public int $userOwner
return integer