Class cApiInUseCollection
Class InUse Class for In-Use management
- cGenericDb
- cItemBaseAbstract
- ItemCollection
- cApiInUseCollection
Package: Core\GenericDB\Model
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at classes/contenido/class.inuse.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at classes/contenido/class.inuse.php
public
|
|
public
|
|
public
|
#
removeMark( string $type, mixed $objectid, string $session )
Removes the "in use" mark from a specific object. |
public
|
#
removeTypeMarks( string $type, string $session )
Removes all marks for a specific type and session |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
#
checkAndMark( string $type, mixed $objectid, boolean $returnWarning = false, string $warningTemplate = '', boolean $allowOverride = false, string $location = '' )
Checks and marks if not marked. Example: Check for "idmod", also return a lock message: list($inUse, $message) = $col->checkAndMark("idmod", $idmod, true, i18n("Module is in use by %s (%s)")); Example 2: Check for "idmod", don't return a lock message $inUse = $col->checkAndMark("idmod", $idmod); |
__get(),
__set(),
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
_resetItem(),
_setLoaded(),
_setPrimaryKeyName(),
escape(),
getPrimaryKeyName(),
isLoaded()
|
_executeCallbacks(),
register(),
unregister()
|
CREATE_BEFORE,
CREATE_FAILURE,
CREATE_SUCCESS,
DELETE_BEFORE,
DELETE_FAILURE,
DELETE_SUCCESS,
STORE_BEFORE,
STORE_FAILURE,
STORE_SUCCESS
|
$_className,
$_loaded,
$_oCache,
$_primaryKeyName,
$_settings,
$db,
$lasterror,
$properties,
$secondDb,
$table
|