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();
}
Here is the call graph for this function:| 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);
}
Here is the caller graph for this function:| 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.
1.7.1