ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilMemcacheServer. More...
Public Member Functions | |
isActive () | |
isReachable () | |
getId () | |
setId ($id) | |
getStatus () | |
setStatus ($status) | |
getHost () | |
setHost ($host) | |
getPort () | |
setPort ($port) | |
getFlushNeeded () | |
setFlushNeeded ($flush_needed) | |
getWeight () | |
setWeight ($weight) | |
Public Member Functions inherited from ActiveRecord | |
getArConnector () | |
getArFieldList () | |
getConnectorContainerName () | |
setConnectorContainerName ($connector_container_name) | |
getPrimaryFieldValue () | |
setPrimaryFieldValue ($value) | |
__construct ($primary_key=0, arConnector $connector=null) | |
storeObjectToCache () | |
__getConvertedDateFieldsAsArray ($format=null) | |
__asCsv ($separator=';', $header=false) | |
__asArray () | |
__asStdClass () | |
__asSerializedObject () | |
buildFromArray (array $array) | |
fixDateField ($field_name, $value) | |
sleep ($field_name) | |
wakeUp ($field_name, $field_value) | |
getArrayForDb () | |
getArrayForConnector () | |
installConnector () | |
store () | |
save () | |
create () | |
copy ($new_id=0) | |
afterObjectLoad () | |
read () | |
update () | |
delete () | |
__call ($name, $arguments) | |
Static Public Member Functions | |
static | returnDbTableName () |
Static Public Member Functions inherited from ActiveRecord | |
static | returnDbTableName () |
static | installDB () |
static | renameDBField ($old_name, $new_name) |
static | tableExists () |
static | fieldExists ($field_name) |
static | removeDBField ($field_name) |
static | updateDB () |
static | resetDB () |
static | truncateDB () |
static | flushDB () |
static | preloadObjects () |
static | additionalParams (array $additional_params) |
static | findOrFail ($primary_key, array $add_constructor_args=array()) |
Tries to find the object and throws an Exception if object is not found, instead of returning null. More... | |
static | findOrGetInstance ($primary_key, array $add_constructor_args=array()) |
static | where ($where, $operator=null) |
static | innerjoinAR (ActiveRecord $ar, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | orderBy ($orderBy, $orderDirection='ASC') |
static | dateFormat ($date_format='d.m.Y - H:i:s') |
static | limit ($start, $end) |
static | affectedRows () |
static | count () |
static | get () |
static | debug () |
static | first () |
static | getCollection () |
static | last () |
static | getFirstFromLastQuery () |
static | connector (arConnector $connector) |
static | raw ($set_raw=true) |
static | getArray ($key=null, $values=null) |
static | _toCamelCase ($str, $capitalise_first_char=false) |
Data Fields | |
const | STATUS_INACTIVE = - 1 |
const | STATUS_ACTIVE = 1 |
Data Fields inherited from ActiveRecord | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Attributes | |
$id = 0 | |
$status = self::STATUS_INACTIVE | |
$host = '' | |
$port = 0 | |
$weight = 100 | |
$flush_needed = false | |
Protected Attributes inherited from ActiveRecord | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Additional Inherited Members | |
Protected Member Functions inherited from ActiveRecord | |
serializeToCSV ($field) | |
This method is called for every field of your instance if you use __asCsv. More... | |
installDatabase () | |
Static Protected Member Functions inherited from ActiveRecord | |
static | getCalledClass () |
static | fromCamelCase ($str) |
ilMemcacheServer::getFlushNeeded | ( | ) |
ilMemcacheServer::getHost | ( | ) |
Definition at line 135 of file class.ilMemcacheServer.php.
References $host.
Referenced by isReachable().
ilMemcacheServer::getId | ( | ) |
Definition at line 103 of file class.ilMemcacheServer.php.
References $id.
Referenced by ilMemcacheServerTableGUI\addActionMenu().
ilMemcacheServer::getPort | ( | ) |
Definition at line 151 of file class.ilMemcacheServer.php.
References $port.
Referenced by isReachable().
ilMemcacheServer::getStatus | ( | ) |
Definition at line 119 of file class.ilMemcacheServer.php.
References $status.
Referenced by isActive().
ilMemcacheServer::getWeight | ( | ) |
Definition at line 183 of file class.ilMemcacheServer.php.
References $weight.
Referenced by isReachable().
ilMemcacheServer::isActive | ( | ) |
Definition at line 29 of file class.ilMemcacheServer.php.
References getStatus().
ilMemcacheServer::isReachable | ( | ) |
Definition at line 37 of file class.ilMemcacheServer.php.
References getHost(), getPort(), and getWeight().
|
static |
Definition at line 21 of file class.ilMemcacheServer.php.
ilMemcacheServer::setFlushNeeded | ( | $flush_needed | ) |
string | $flush_needed |
Definition at line 175 of file class.ilMemcacheServer.php.
References $flush_needed.
ilMemcacheServer::setHost | ( | $host | ) |
ilMemcacheServer::setId | ( | $id | ) |
ilMemcacheServer::setPort | ( | $port | ) |
ilMemcacheServer::setStatus | ( | $status | ) |
string | $status |
Definition at line 127 of file class.ilMemcacheServer.php.
References $status.
ilMemcacheServer::setWeight | ( | $weight | ) |
int | $weight |
Definition at line 191 of file class.ilMemcacheServer.php.
References $weight.
|
protected |
Definition at line 97 of file class.ilMemcacheServer.php.
Referenced by getFlushNeeded(), and setFlushNeeded().
|
protected |
Definition at line 73 of file class.ilMemcacheServer.php.
|
protected |
Definition at line 57 of file class.ilMemcacheServer.php.
|
protected |
Definition at line 81 of file class.ilMemcacheServer.php.
|
protected |
Definition at line 65 of file class.ilMemcacheServer.php.
Referenced by getStatus(), and setStatus().
|
protected |
Definition at line 89 of file class.ilMemcacheServer.php.
Referenced by getWeight(), and setWeight().
const ilMemcacheServer::STATUS_ACTIVE = 1 |
Definition at line 13 of file class.ilMemcacheServer.php.
Referenced by ilMemcacheServerFormGUI\fillForm(), and ilMemcacheServerFormGUI\fillObject().
const ilMemcacheServer::STATUS_INACTIVE = - 1 |
Definition at line 12 of file class.ilMemcacheServer.php.
Referenced by ilMemcacheServerFormGUI\fillObject().