|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilTableLock. More...
Inheritance diagram for ilTableLock:
Collaboration diagram for ilTableLock:Public Member Functions | |
| __construct ($table_name, ilDBInterface $ilDBInterface) | |
| ilTableLock constructor. More... | |
| check () | |
| lockSequence ($lock_bool) | |
| aliasName ($alias_name) | |
| getTableName () | |
| setTableName ($table_name) | |
| isLockSequence () | |
| setLockSequence ($lock_sequence) | |
| getAlias () | |
| setAlias ($alias) | |
| getLockLevel () | |
| setLockLevel ($lock_level) | |
| isChecked () | |
| setChecked ($checked) | |
| lockSequence ($lock_bool) | |
| Set true/false whether you would like to lock an existing sequence-table, too Without lockSequence(true) sequences are not locked. More... | |
| aliasName ($alias_name) | |
| If you use Alias' in your Queries which have to be locked by ilAtomQuery, "LOCK TABLE" needs to lock both of the original table and the alias-table. More... | |
Protected Attributes | |
| $table_name = '' | |
| $lock_sequence = false | |
| $alias = '' | |
| $lock_level = ilAtomQuery::LOCK_WRITE | |
| $checked = false | |
| $ilDBInstance | |
Class ilTableLock.
Definition at line 9 of file class.ilTableLock.php.
| ilTableLock::__construct | ( | $table_name, | |
| ilDBInterface | $ilDBInterface | ||
| ) |
ilTableLock constructor.
| string | $table_name |
Definition at line 43 of file class.ilTableLock.php.
References $table_name.
| ilTableLock::aliasName | ( | $alias_name | ) |
| $alias_name |
Implements ilTableLockInterface.
Definition at line 82 of file class.ilTableLock.php.
References setAlias().
Here is the call graph for this function:| ilTableLock::check | ( | ) |
Definition at line 53 of file class.ilTableLock.php.
References ilAtomQueryException\DB_ATOM_LOCK_TABLE_NONEXISTING, ilAtomQueryException\DB_ATOM_LOCK_WRONG_LEVEL, getLockLevel(), getTableName(), ilAtomQuery\LOCK_READ, ilAtomQuery\LOCK_WRITE, and setChecked().
Here is the call graph for this function:| ilTableLock::getAlias | ( | ) |
| ilTableLock::getLockLevel | ( | ) |
Definition at line 147 of file class.ilTableLock.php.
References $lock_level.
Referenced by check().
Here is the caller graph for this function:| ilTableLock::getTableName | ( | ) |
Definition at line 93 of file class.ilTableLock.php.
References $table_name.
Referenced by check().
Here is the caller graph for this function:| ilTableLock::isChecked | ( | ) |
Definition at line 165 of file class.ilTableLock.php.
References $checked.
| ilTableLock::isLockSequence | ( | ) |
Definition at line 111 of file class.ilTableLock.php.
References $lock_sequence.
| ilTableLock::lockSequence | ( | $lock_bool | ) |
| bool | $lock_bool |
Implements ilTableLockInterface.
Definition at line 70 of file class.ilTableLock.php.
References setLockSequence().
Here is the call graph for this function:| ilTableLock::setAlias | ( | $alias | ) |
| string | $alias |
Definition at line 138 of file class.ilTableLock.php.
References $alias.
Referenced by aliasName().
Here is the caller graph for this function:| ilTableLock::setChecked | ( | $checked | ) |
| boolean | $checked |
Definition at line 174 of file class.ilTableLock.php.
References $checked.
Referenced by check().
Here is the caller graph for this function:| ilTableLock::setLockLevel | ( | $lock_level | ) |
| int | $lock_level |
Definition at line 156 of file class.ilTableLock.php.
References $lock_level.
| ilTableLock::setLockSequence | ( | $lock_sequence | ) |
| boolean | $lock_sequence |
Definition at line 120 of file class.ilTableLock.php.
References $lock_sequence.
Referenced by lockSequence().
Here is the caller graph for this function:| ilTableLock::setTableName | ( | $table_name | ) |
| string | $table_name |
Definition at line 102 of file class.ilTableLock.php.
References $table_name.
|
protected |
Definition at line 23 of file class.ilTableLock.php.
Referenced by getAlias(), and setAlias().
|
protected |
Definition at line 31 of file class.ilTableLock.php.
Referenced by isChecked(), and setChecked().
|
protected |
Definition at line 35 of file class.ilTableLock.php.
|
protected |
Definition at line 27 of file class.ilTableLock.php.
Referenced by getLockLevel(), and setLockLevel().
|
protected |
Definition at line 19 of file class.ilTableLock.php.
Referenced by isLockSequence(), and setLockSequence().
|
protected |
Definition at line 15 of file class.ilTableLock.php.
Referenced by __construct(), getTableName(), and setTableName().