PHP Класс Pimcore\Model\Element\Editlock

Наследование: extends Pimcore\Model\AbstractModel
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$cid integer
$cpath
$ctype string
$date integer
$id integer
$sessionId string
$userId integer

Открытые методы

Метод Описание
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

Описание методов

clearSession() публичный статический метод

public static clearSession ( $sessionId ) : boolean | null
$sessionId
Результат boolean | null

getByElement() публичный статический метод

public static getByElement ( $cid, $ctype ) : null | Editlock
$cid
$ctype
Результат null | Editlock

getCid() публичный метод

public getCid ( ) : integer
Результат integer

getCpath() публичный метод

public getCpath ( )

getCtype() публичный метод

public getCtype ( ) : string
Результат string

getDate() публичный метод

public getDate ( ) : integer
Результат integer

getId() публичный метод

public getId ( ) : integer
Результат integer

getSessionId() публичный метод

public getSessionId ( ) : string
Результат string

getUser() публичный метод

public getUser ( ) : User
Результат User

getUserId() публичный метод

public getUserId ( ) : integer
Результат integer

isLocked() публичный статический метод

public static isLocked ( $cid, $ctype ) : boolean
$cid
$ctype
Результат boolean

lock() публичный статический метод

public static lock ( $cid, $ctype ) : boolean | Editlock
$cid
$ctype
Результат boolean | Editlock

setCid() публичный метод

public setCid ( $cid )

setCpath() публичный метод

public setCpath ( $cpath )
$cpath

setCtype() публичный метод

public setCtype ( string $ctype ) : void
$ctype string
Результат void

setDate() публичный метод

public setDate ( integer $date ) : void
$date integer
Результат void

setId() публичный метод

public setId ( integer $id )
$id integer

setSessionId() публичный метод

public setSessionId ( string $sessionId ) : void
$sessionId string
Результат void

setUser() публичный метод

public setUser ( User $user ) : void
$user User
Результат void

setUserId() публичный метод

public setUserId ( integer $userId ) : void
$userId integer
Результат void

unlock() публичный статический метод

public static unlock ( $cid, $ctype ) : boolean
$cid
$ctype
Результат boolean

Описание свойств

$cid публичное свойство

public int $cid
Результат integer

$cpath публичное свойство

public $cpath

$ctype публичное свойство

public string $ctype
Результат string

$date публичное свойство

public int $date
Результат integer

$id публичное свойство

public int $id
Результат integer

$sessionId публичное свойство

public string $sessionId
Результат string

$userId публичное свойство

public int $userId
Результат integer