[Horde_Lock] element index

Package indexes

All elements
c f g h l r s _
_
top
Variable $_connected
Boolean indicating whether or not we're connected to the SQL server.
Variable $_db
Handle for the current database connection.
Variable $_params
Local copy of driver parameters
Variable $_write_db
Handle for the current database connection, used for writing. Defaults to the same handle as $_db if a separate write database isn't required.
Method _connect
Opens a connection to the SQL server.
Method _uuidgen
Generate a new Universally Unique Identifier for use as lock token
c
top
Method clearLock
Removes a lock given the lock ID.
Method clearLock
Removes a lock given the lock ID.
f
top
Method factory
Attempts to return a concrete Horde_Lock instance based on $driver.
g
top
Method getLockInfo
Return an array of information about the requested lock.
Method getLockInfo
Return an array of information about the requested lock.
Method getLocks
Return a list of valid locks with the option to limit the results by principal, scope and/or type.
Method getLocks
Return a list of valid locks with the option to limit the results by principal, scope and/or type.
h
top
Method Horde_Lock
Horde_Lock constructor
Class Horde_Lock
Horde_Lock in Lock.php
Method Horde_Lock_sql
Constructs a new Horde_Lock_sql object.
Class Horde_Lock_sql
Horde_Lock_sql in sql.php
The Horde_Lock_sql driver implements a storage backend for the Horde_Lock API
Constant HORDE_LOCK_TYPE_EXCLUSIVE
The exclusive lock type
Constant HORDE_LOCK_TYPE_SHARED
The shared lock type
l
top
Page Lock.php
Lock.php in Lock.php
r
top
Method resetLock
Extend the valid lifetime of a valid lock to now + $newtimeout.
Method resetLock
Extend the valid lifetime of a valid lock to now + $extend.
s
top
Page sql.php
sql.php in sql.php
Method setLock
Sets a lock on the requested principal and returns the generated lock ID.
Method setLock
Sets a lock on the requested principal and returns the generated lock ID.
Method singleton
Attempts to return a reference to a concrete Horde_Lock instance based on $driver. It will only create a new instance if no Horde_Lock instance with the same parameters currently exists.
c f g h l r s _