Public Member Functions | |
ilClientList () | |
init () | |
load all clients into clientlist | |
getClients () | |
get all clients | |
Data Fields | |
$ini | |
$path | |
$error = "" |
Definition at line 33 of file class.ilClientList.php.
ilClientList::getClients | ( | ) |
get all clients
Definition at line 76 of file class.ilClientList.php.
{
return ($this->clients) ? $this->clients : array();
}
ilClientList::ilClientList | ( | ) |
Definition at line 39 of file class.ilClientList.php.
References init().
{ $this->path = ILIAS_ABSOLUTE_PATH."/".ILIAS_WEB_DIR; $this->init(); }
ilClientList::init | ( | ) |
load all clients into clientlist
Definition at line 48 of file class.ilClientList.php.
References $d.
Referenced by ilClientList().
{ // set path to directory where clients reside $d = dir($this->path); $tmpPath = getcwd(); chdir ($this->path); // get available lang-files while ($entry = $d->read()) { if (is_file($this->path."/".$entry."/client.ini.php")) { $client = new ilClient($entry); $client->init(); $this->clients[$entry] = $client; unset($client); } } chdir($tmpPath); }
ilClientList::$error = "" |
Definition at line 37 of file class.ilClientList.php.
ilClientList::$ini |
Definition at line 35 of file class.ilClientList.php.
ilClientList::$path |
Definition at line 36 of file class.ilClientList.php.