PHP Class Pimcore\Model\Element\Recyclebin\Item

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

Public Properties

Property Type Description
$amount integer
$date integer
$deletedby string
$element Pimcore\Model\Element\ElementInterface
$id integer
$path string
$subtype string
$type string

Public Methods

Method Description
create ( Pimcore\Model\Element\ElementInterface $element, User $user )
delete ( )
getAmount ( ) : integer
getById ( $id ) : Item
getDate ( ) : integer
getDeletedby ( ) : string
getElement ( ) : Pimcore\Model\Element\ElementInterface
getId ( ) : integer
getPath ( ) : string
getStorageFileBinary ( $element ) : string
getStoreageFile ( ) : string
getSubtype ( ) : string
getType ( ) : string
loadChilds ( Pimcore\Model\Element\ElementInterface $element )
restore ( $user = null )
restoreChilds ( Pimcore\Model\Element\ElementInterface $element )
save ( User $user = null ) : void
setAmount ( $amount )
setDate ( $date )
setDeletedby ( $username )
setElement ( $element )
setId ( $id )
setPath ( $path )
setSubtype ( $subtype )
setType ( $type )

Method Details

create() public static method

public static create ( Pimcore\Model\Element\ElementInterface $element, User $user )
$element Pimcore\Model\Element\ElementInterface
$user Pimcore\Model\User

delete() public method

public delete ( )

getAmount() public method

public getAmount ( ) : integer
return integer

getById() public static method

public static getById ( $id ) : Item
$id
return Item

getDate() public method

public getDate ( ) : integer
return integer

getDeletedby() public method

public getDeletedby ( ) : string
return string

getElement() public method

public getElement ( ) : Pimcore\Model\Element\ElementInterface
return Pimcore\Model\Element\ElementInterface

getId() public method

public getId ( ) : integer
return integer

getPath() public method

public getPath ( ) : string
return string

getStorageFileBinary() public method

public getStorageFileBinary ( $element ) : string
$element
return string

getStoreageFile() public method

public getStoreageFile ( ) : string
return string

getSubtype() public method

public getSubtype ( ) : string
return string

getType() public method

public getType ( ) : string
return string

loadChilds() public method

public loadChilds ( Pimcore\Model\Element\ElementInterface $element )
$element Pimcore\Model\Element\ElementInterface

restore() public method

public restore ( $user = null )

restoreChilds() public method

public restoreChilds ( Pimcore\Model\Element\ElementInterface $element )
$element Pimcore\Model\Element\ElementInterface

save() public method

public save ( User $user = null ) : void
$user User
return void

setAmount() public method

public setAmount ( $amount )
$amount

setDate() public method

public setDate ( $date )
$date

setDeletedby() public method

public setDeletedby ( $username )
$username

setElement() public method

public setElement ( $element )
$element

setId() public method

public setId ( $id )
$id

setPath() public method

public setPath ( $path )
$path

setSubtype() public method

public setSubtype ( $subtype )
$subtype

setType() public method

public setType ( $type )
$type

Property Details

$amount public property

public int $amount
return integer

$date public property

public int $date
return integer

$deletedby public property

public string $deletedby
return string

$element public property

public ElementInterface,Pimcore\Model\Element $element
return Pimcore\Model\Element\ElementInterface

$id public property

public int $id
return integer

$path public property

public string $path
return string

$subtype public property

public string $subtype
return string

$type public property

public string $type
return string