ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5
|
Public Member Functions | |
__construct ($moduleName, $moduleBasePath, $relativeClassPath='classes', $taskScope='') | |
Sets class parameters using given parameters. More... | |
hasTask ($task) | |
Returns true if file exists. More... | |
loadTask ($task) | |
Requires file, whereby given $task is used as parameter in getTaskPath method to build the filename of the file to required. More... | |
buildTask ($task, ilChatroomObjectGUI $gui) | |
Builds and returns new task using given $task and $gui. More... | |
getTaskClassName ($task) | |
Builds task classname using given $task and returns it. More... | |
getTaskPath ($task) | |
Builds task path using given $task and returns it. More... | |
Static Public Member Functions | |
static | getDefaultDefinition ($moduleName) |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName as parameter. More... | |
static | getDefaultDefinitionWithCustomTaskPath ($moduleName, $taskScope='') |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName and $taskScope as parameters. More... | |
Private Attributes | |
$moduleName | |
$moduleBasePath | |
$relativeClassPath | |
$taskScope | |
Definition at line 7 of file class.ilChatroomObjectDefinition.php.
ilChatroomObjectDefinition::__construct | ( | $moduleName, | |
$moduleBasePath, | |||
$relativeClassPath = 'classes' , |
|||
$taskScope = '' |
|||
) |
Sets class parameters using given parameters.
string | $moduleName | |
string | $moduleBasePath | |
string | $relativeClassPath | Optional. |
string | $taskScope | Optional. |
Definition at line 41 of file class.ilChatroomObjectDefinition.php.
References $moduleBasePath, $moduleName, $relativeClassPath, and $taskScope.
ilChatroomObjectDefinition::buildTask | ( | $task, | |
ilChatroomObjectGUI | $gui | ||
) |
Builds and returns new task using given $task and $gui.
string | $task | |
ilChatroomObjectGUI | $gui |
Definition at line 105 of file class.ilChatroomObjectDefinition.php.
References $task, and getTaskClassName().
|
static |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName as parameter.
string | $moduleName |
Definition at line 55 of file class.ilChatroomObjectDefinition.php.
References $moduleName.
Referenced by ilObjChatroomGUI\getObjectDefinition().
|
static |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName and $taskScope as parameters.
string | $moduleName | |
string | $taskScope | Optional. 'admin' or ''. Default '' |
Definition at line 69 of file class.ilChatroomObjectDefinition.php.
References $moduleName, and $taskScope.
Referenced by ilObjChatroomAdminGUI\getObjectDefinition().
ilChatroomObjectDefinition::getTaskClassName | ( | $task | ) |
Builds task classname using given $task and returns it.
string | $task |
Definition at line 118 of file class.ilChatroomObjectDefinition.php.
References $task.
Referenced by buildTask(), and getTaskPath().
ilChatroomObjectDefinition::getTaskPath | ( | $task | ) |
Builds task path using given $task and returns it.
string | $task |
Definition at line 128 of file class.ilChatroomObjectDefinition.php.
References $task, and getTaskClassName().
Referenced by hasTask(), and loadTask().
ilChatroomObjectDefinition::hasTask | ( | $task | ) |
Returns true if file exists.
string | $task |
Definition at line 83 of file class.ilChatroomObjectDefinition.php.
References $task, and getTaskPath().
ilChatroomObjectDefinition::loadTask | ( | $task | ) |
Requires file, whereby given $task is used as parameter in getTaskPath method to build the filename of the file to required.
string | $task |
Definition at line 93 of file class.ilChatroomObjectDefinition.php.
References $task, and getTaskPath().
|
private |
Definition at line 19 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct().
|
private |
Definition at line 13 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct(), getDefaultDefinition(), and getDefaultDefinitionWithCustomTaskPath().
|
private |
Definition at line 25 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct().
|
private |
Definition at line 32 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct(), and getDefaultDefinitionWithCustomTaskPath().