PHP Class Pimcore\Model\Tool\TmpStore

Inheritance: extends Pimcore\Model\AbstractModel
Mostrar archivo Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$data string
$date integer
$expiryDate integer
$id string
$serialized boolean
$tag string

Protected Properties

Property Type Description
$instance Lock

Public Methods

Method Description
add ( $id, $data, null $tag = null, null $lifetime = null ) : mixed
cleanup ( )
delete ( $id ) : mixed
get ( $id ) : null | TmpStore
getData ( ) : string
getDate ( ) : integer
getExpiryDate ( ) : integer
getId ( ) : string
getIdsByTag ( $tag ) : array
getTag ( ) : string
isSerialized ( ) : boolean
setData ( string $data )
setDate ( integer $date )
setExpiryDate ( integer $expiryDate )
setId ( string $id )
setSerialized ( boolean $serialized )
setTag ( string $tag )
update ( null $lifetime = null ) : mixed

Protected Methods

Method Description
getInstance ( ) : Lock

Method Details

add() public static method

public static add ( $id, $data, null $tag = null, null $lifetime = null ) : mixed
$id
$data
$tag null
$lifetime null
return mixed

cleanup() public static method

public static cleanup ( )

delete() public static method

public static delete ( $id ) : mixed
$id
return mixed

get() public static method

public static get ( $id ) : null | TmpStore
$id
return null | TmpStore

getData() public method

public getData ( ) : string
return string

getDate() public method

public getDate ( ) : integer
return integer

getExpiryDate() public method

public getExpiryDate ( ) : integer
return integer

getId() public method

public getId ( ) : string
return string

getIdsByTag() public static method

public static getIdsByTag ( $tag ) : array
$tag
return array

getInstance() protected static method

protected static getInstance ( ) : Lock
return Lock

getTag() public method

public getTag ( ) : string
return string

isSerialized() public method

public isSerialized ( ) : boolean
return boolean

setData() public method

public setData ( string $data )
$data string

setDate() public method

public setDate ( integer $date )
$date integer

setExpiryDate() public method

public setExpiryDate ( integer $expiryDate )
$expiryDate integer

setId() public method

public setId ( string $id )
$id string

setSerialized() public method

public setSerialized ( boolean $serialized )
$serialized boolean

setTag() public method

public setTag ( string $tag )
$tag string

update() public method

public update ( null $lifetime = null ) : mixed
$lifetime null
return mixed

Property Details

$data public_oe property

public string $data
return string

$date public_oe property

public int $date
return integer

$expiryDate public_oe property

public int $expiryDate
return integer

$id public_oe property

public string $id
return string

$instance protected_oe static_oe property

protected static Lock,Pimcore\Model\Tool $instance
return Lock

$serialized public_oe property

public bool $serialized
return boolean

$tag public_oe property

public string $tag
return string