wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
Lock Class Reference

Public Member Functions

 Lock ($oid, $useroid, $login, $sessid, $created='')
 
 getOID ()
 
 getUserOID ()
 
 getLogin ()
 
 getSessionID ()
 
 getCreated ()
 

Public Attributes

 $_oid = ""
 
 $_useroid = ""
 
 $_login = ""
 
 $_sessid = ""
 
 $_created = ""
 

Detailed Description

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.

Id:
class.Lock.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 27 of file class.Lock.php.

Member Function Documentation

Lock::Lock (   $oid,
  $useroid,
  $login,
  $sessid,
  $created = '' 
)

Creates a lock on a given object.

Parameters
oidThe oid of the object to lock
useroidThe oid of the user who holds the lock
loginThe login of the user who holds the lock
sessidThe id of the session of the user
createdThe 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.

Returns
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.

Returns
The oid of the user.

Definition at line 68 of file class.Lock.php.

References $_useroid.

Lock::getLogin ( )

Get the login of the user who holds the lock.

Returns
The login of the user.

Definition at line 77 of file class.Lock.php.

References $_login.

Lock::getSessionID ( )

Get the session id of the user who holds the lock.

Returns
The session id of the user.

Definition at line 86 of file class.Lock.php.

References $_sessid.

Lock::getCreated ( )

Get the creation date/time of the lock.

Returns
The creation date/time of the lock.

Definition at line 95 of file class.Lock.php.

References $_created.

Member Data Documentation

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().


The documentation for this class was generated from the following file: