wCMF
3.6
|
Public Member Functions | |
Lock ($oid, $useroid, $login, $sessid, $created='') | |
getOID () | |
getUserOID () | |
getLogin () | |
getSessionID () | |
getCreated () | |
Public Attributes | |
$_oid = "" | |
$_useroid = "" | |
$_login = "" | |
$_sessid = "" | |
$_created = "" | |
Lock represents a lock on an object.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 27 of file class.Lock.php.
Lock::Lock | ( | $oid, | |
$useroid, | |||
$login, | |||
$sessid, | |||
$created = '' |
|||
) |
Creates a lock on a given object.
oid | The oid of the object to lock |
useroid | The oid of the user who holds the lock |
login | The login of the user who holds the lock |
sessid | The id of the session of the user |
created | The creation date of the lock. If omitted the current date will be taken. |
Definition at line 43 of file class.Lock.php.
Lock::getOID | ( | ) |
Get the oid of the locked object.
Definition at line 59 of file class.Lock.php.
References $_oid.
Lock::getUserOID | ( | ) |
Get the oid of the user who holds the lock.
Definition at line 68 of file class.Lock.php.
References $_useroid.
Lock::getLogin | ( | ) |
Get the login of the user who holds the lock.
Definition at line 77 of file class.Lock.php.
References $_login.
Lock::getSessionID | ( | ) |
Get the session id of the user who holds the lock.
Definition at line 86 of file class.Lock.php.
References $_sessid.
Lock::getCreated | ( | ) |
Get the creation date/time of the lock.
Definition at line 95 of file class.Lock.php.
References $_created.
Lock::$_oid = "" |
Definition at line 29 of file class.Lock.php.
Referenced by getOID().
Lock::$_useroid = "" |
Definition at line 30 of file class.Lock.php.
Referenced by getUserOID().
Lock::$_login = "" |
Definition at line 31 of file class.Lock.php.
Referenced by getLogin().
Lock::$_sessid = "" |
Definition at line 32 of file class.Lock.php.
Referenced by getSessionID().
Lock::$_created = "" |
Definition at line 33 of file class.Lock.php.
Referenced by getCreated().