ILIAS
Release_5_0_x_branch Revision 61816
|
Class arConnectorSession. More...
Public Member Functions | |
checkConnection (ActiveRecord $ar) | |
nextID (ActiveRecord $ar) | |
installDatabase (ActiveRecord $ar, $fields) | |
updateDatabase (ActiveRecord $ar) | |
resetDatabase (ActiveRecord $ar) | |
truncateDatabase (ActiveRecord $ar) | |
checkTableExists (ActiveRecord $ar) | |
checkFieldExists (ActiveRecord $ar, $field_name) | |
removeField (ActiveRecord $ar, $field_name) | |
renameField (ActiveRecord $ar, $old_name, $new_name) | |
create (ActiveRecord $ar) | |
read (ActiveRecord $ar) | |
update (ActiveRecord $ar) | |
delete (ActiveRecord $ar) | |
readSet (ActiveRecordList $arl) | |
affectedRows (ActiveRecordList $arl) | |
quote ($value, $type) | |
updateIndices (ActiveRecord $ar) |
Static Public Member Functions | |
static | resetSession () |
static | getSession () |
static | getSessionForActiveRecord (ActiveRecord $ar) |
Data Fields | |
const | AR_CONNECTOR_SESSION = 'arConnectorSession' |
arConnectorSession::affectedRows | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 234 of file class.arConnectorSession.php.
References readSet().
arConnectorSession::checkConnection | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 54 of file class.arConnectorSession.php.
arConnectorSession::checkFieldExists | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
Reimplemented from arConnector.
Definition at line 128 of file class.arConnectorSession.php.
References getSessionForActiveRecord().
arConnectorSession::checkTableExists | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 117 of file class.arConnectorSession.php.
arConnectorSession::create | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 163 of file class.arConnectorSession.php.
References $_SESSION, ActiveRecord\__asStdClass(), AR_CONNECTOR_SESSION, and ActiveRecord\getPrimaryFieldValue().
Referenced by update().
arConnectorSession::delete | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 191 of file class.arConnectorSession.php.
References $_SESSION.
|
static |
Definition at line 24 of file class.arConnectorSession.php.
References $_SESSION, AR_CONNECTOR_SESSION, and resetSession().
Referenced by getSessionForActiveRecord().
|
static |
ActiveRecord | $ar |
Definition at line 38 of file class.arConnectorSession.php.
References getSession().
Referenced by checkFieldExists(), read(), and readSet().
arConnectorSession::installDatabase | ( | ActiveRecord | $ar, |
$fields | |||
) |
ActiveRecord | $ar | |
$fields |
Reimplemented from arConnector.
Definition at line 75 of file class.arConnectorSession.php.
References resetDatabase().
arConnectorSession::nextID | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 64 of file class.arConnectorSession.php.
arConnectorSession::quote | ( | $value, | |
$type | |||
) |
$value | |
$type |
Reimplemented from arConnector.
Definition at line 245 of file class.arConnectorSession.php.
arConnectorSession::read | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 173 of file class.arConnectorSession.php.
References ActiveRecord\getPrimaryFieldValue(), and getSessionForActiveRecord().
arConnectorSession::readSet | ( | ActiveRecordList | $arl | ) |
ActiveRecordList | $arl |
Reimplemented from arConnector.
Definition at line 203 of file class.arConnectorSession.php.
References ActiveRecordList\getAR(), ActiveRecordList\getArWhereCollection(), and getSessionForActiveRecord().
Referenced by affectedRows().
arConnectorSession::removeField | ( | ActiveRecord | $ar, |
$field_name | |||
) |
ActiveRecord | $ar | |
$field_name |
arException |
Reimplemented from arConnector.
Definition at line 142 of file class.arConnectorSession.php.
arConnectorSession::renameField | ( | ActiveRecord | $ar, |
$old_name, | |||
$new_name | |||
) |
ActiveRecord | $ar | |
$old_name | ||
$new_name |
arException |
Reimplemented from arConnector.
Definition at line 155 of file class.arConnectorSession.php.
arConnectorSession::resetDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 95 of file class.arConnectorSession.php.
References $_SESSION, and AR_CONNECTOR_SESSION.
Referenced by installDatabase(), and truncateDatabase().
|
static |
Definition at line 16 of file class.arConnectorSession.php.
References $_SESSION, and AR_CONNECTOR_SESSION.
Referenced by getSession().
arConnectorSession::truncateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 107 of file class.arConnectorSession.php.
References resetDatabase().
arConnectorSession::update | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 183 of file class.arConnectorSession.php.
References create().
arConnectorSession::updateDatabase | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 85 of file class.arConnectorSession.php.
arConnectorSession::updateIndices | ( | ActiveRecord | $ar | ) |
ActiveRecord | $ar |
Reimplemented from arConnector.
Definition at line 253 of file class.arConnectorSession.php.
const arConnectorSession::AR_CONNECTOR_SESSION = 'arConnectorSession' |
Definition at line 13 of file class.arConnectorSession.php.
Referenced by create(), getSession(), resetDatabase(), and resetSession().