|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilTableLock. More...
Inheritance diagram for ilTableLock:
Collaboration diagram for ilTableLock:Public Member Functions | |
| __construct (protected string $table_name, protected \ilDBInterface $ilDBInstance) | |
| ilTableLock constructor. More... | |
| check () | |
| lockSequence (bool $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 (string $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... | |
| getTableName () | |
| setTableName (string $table_name) | |
| isLockSequence () | |
| setLockSequence (bool $lock_sequence) | |
| getAlias () | |
| setAlias (string $alias) | |
| getLockLevel () | |
| setLockLevel (int $lock_level) | |
| isChecked () | |
| setChecked (bool $checked) | |
| lockSequence (bool $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 (string $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 | |
| bool | $lock_sequence = false |
| string | $alias = '' |
| int | $lock_level = ilAtomQuery::LOCK_WRITE |
| bool | $checked = false |
Class ilTableLock.
Definition at line 25 of file class.ilTableLock.php.
| ilTableLock::__construct | ( | protected string | $table_name, |
| protected \ilDBInterface | $ilDBInstance | ||
| ) |
| ilTableLock::aliasName | ( | string | $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.
Provide the name of your alias here
Implements ilTableLockInterface.
Definition at line 61 of file class.ilTableLock.php.
References setAlias().
Here is the call graph for this function:| ilTableLock::check | ( | ) |
Definition at line 42 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 98 of file class.ilTableLock.php.
References $lock_level.
Referenced by check().
Here is the caller graph for this function:| ilTableLock::getTableName | ( | ) |
Definition at line 68 of file class.ilTableLock.php.
Referenced by check().
Here is the caller graph for this function:| ilTableLock::isChecked | ( | ) |
| ilTableLock::isLockSequence | ( | ) |
| ilTableLock::lockSequence | ( | bool | $lock_bool | ) |
Set true/false whether you would like to lock an existing sequence-table, too Without lockSequence(true) sequences are not locked.
Implements ilTableLockInterface.
Definition at line 54 of file class.ilTableLock.php.
References setLockSequence().
Here is the call graph for this function:| ilTableLock::setAlias | ( | string | $alias | ) |
Definition at line 93 of file class.ilTableLock.php.
References $alias.
Referenced by aliasName().
Here is the caller graph for this function:| ilTableLock::setChecked | ( | bool | $checked | ) |
Definition at line 113 of file class.ilTableLock.php.
References $checked, and ILIAS\UI\examples\Symbol\Glyph\Checked\checked().
Referenced by check().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTableLock::setLockLevel | ( | int | $lock_level | ) |
Definition at line 103 of file class.ilTableLock.php.
References $lock_level.
| ilTableLock::setLockSequence | ( | bool | $lock_sequence | ) |
Definition at line 83 of file class.ilTableLock.php.
References $lock_sequence.
Referenced by lockSequence().
Here is the caller graph for this function:| ilTableLock::setTableName | ( | string | $table_name | ) |
Definition at line 73 of file class.ilTableLock.php.
|
protected |
Definition at line 28 of file class.ilTableLock.php.
Referenced by getAlias(), and setAlias().
|
protected |
Definition at line 30 of file class.ilTableLock.php.
Referenced by isChecked(), and setChecked().
|
protected |
Definition at line 29 of file class.ilTableLock.php.
Referenced by getLockLevel(), and setLockLevel().
|
protected |
Definition at line 27 of file class.ilTableLock.php.
Referenced by isLockSequence(), and setLockSequence().