PHP Class Pimcore\Model\Element\Editlock

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

Public Properties

Property Type Description
$cid integer
$cpath
$ctype string
$date integer
$id integer
$sessionId string
$userId integer

Public Methods

Method Description
clearSession ( $sessionId ) : boolean | null
getByElement ( $cid, $ctype ) : null | Editlock
getCid ( ) : integer
getCpath ( )
getCtype ( ) : string
getDate ( ) : integer
getId ( ) : integer
getSessionId ( ) : string
getUser ( ) : User
getUserId ( ) : integer
isLocked ( $cid, $ctype ) : boolean
lock ( $cid, $ctype ) : boolean | Editlock
setCid ( $cid )
setCpath ( $cpath )
setCtype ( string $ctype ) : void
setDate ( integer $date ) : void
setId ( integer $id )
setSessionId ( string $sessionId ) : void
setUser ( User $user ) : void
setUserId ( integer $userId ) : void
unlock ( $cid, $ctype ) : boolean

Method Details

clearSession() public static method

public static clearSession ( $sessionId ) : boolean | null
$sessionId
return boolean | null

getByElement() public static method

public static getByElement ( $cid, $ctype ) : null | Editlock
$cid
$ctype
return null | Editlock

getCid() public method

public getCid ( ) : integer
return integer

getCpath() public method

public getCpath ( )

getCtype() public method

public getCtype ( ) : string
return string

getDate() public method

public getDate ( ) : integer
return integer

getId() public method

public getId ( ) : integer
return integer

getSessionId() public method

public getSessionId ( ) : string
return string

getUser() public method

public getUser ( ) : User
return User

getUserId() public method

public getUserId ( ) : integer
return integer

isLocked() public static method

public static isLocked ( $cid, $ctype ) : boolean
$cid
$ctype
return boolean

lock() public static method

public static lock ( $cid, $ctype ) : boolean | Editlock
$cid
$ctype
return boolean | Editlock

setCid() public method

public setCid ( $cid )

setCpath() public method

public setCpath ( $cpath )
$cpath

setCtype() public method

public setCtype ( string $ctype ) : void
$ctype string
return void

setDate() public method

public setDate ( integer $date ) : void
$date integer
return void

setId() public method

public setId ( integer $id )
$id integer

setSessionId() public method

public setSessionId ( string $sessionId ) : void
$sessionId string
return void

setUser() public method

public setUser ( User $user ) : void
$user User
return void

setUserId() public method

public setUserId ( integer $userId ) : void
$userId integer
return void

unlock() public static method

public static unlock ( $cid, $ctype ) : boolean
$cid
$ctype
return boolean

Property Details

$cid public_oe property

public int $cid
return integer

$cpath public_oe property

public $cpath

$ctype public_oe property

public string $ctype
return string

$date public_oe property

public int $date
return integer

$id public_oe property

public int $id
return integer

$sessionId public_oe property

public string $sessionId
return string

$userId public_oe property

public int $userId
return integer