ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilClientList Class Reference

client management More...

+ Collaboration diagram for ilClientList:

Public Member Functions

 ilClientList ($a_db_connections)
 init ()
 load all clients into clientlist
 getClients ()
 get all clients

Data Fields

 $ini
 $path
 $error = ""

Detailed Description

client management

Author
Sascha Hofmann shofm.nosp@m.ann@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
Id:
class.ilClientList.php 19042 2009-02-18 16:45:40Z akill

Definition at line 32 of file class.ilClientList.php.

Member Function Documentation

ilClientList::getClients ( )

get all clients

Returns
array array with client objects

Definition at line 76 of file class.ilClientList.php.

{
return ($this->clients) ? $this->clients : array();
}
ilClientList::ilClientList (   $a_db_connections)

Definition at line 38 of file class.ilClientList.php.

References ILIAS_ABSOLUTE_PATH, ILIAS_WEB_DIR, and init().

{
$this->db_connections = $a_db_connections;
$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 $client, and $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, $this->db_connections);
$client->init();
$this->clients[$entry] = $client;
unset($client);
}
}
// chdir($tmpPath);
}

+ Here is the caller graph for this function:

Field Documentation

ilClientList::$error = ""

Definition at line 36 of file class.ilClientList.php.

ilClientList::$ini

Definition at line 34 of file class.ilClientList.php.

ilClientList::$path

Definition at line 35 of file class.ilClientList.php.


The documentation for this class was generated from the following file: