ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($moduleName, $moduleBasePath, $relativeClassPath= 'classes', $relativeTaskPath= 'tasks') | |
Sets class parameters using given parameters. | |
hasTask ($task) | |
Returns true if file exists. | |
loadTask ($task) | |
Requires file, whereby given $task is used as parameter in getTaskPath method to build the filename of the file to required. | |
buildTask ($task, ilChatroomObjectGUI $gui) | |
Builds and returns new task using given $task and $gui. | |
getTaskClassName ($task) | |
Builds task classname using given $task and returns it. | |
getTaskPath ($task) | |
Builds task path using given $task and returns it. |
Static Public Member Functions | |
static | getDefaultDefinition ($moduleName) |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName as parameter. | |
static | getDefaultDefinitionWithCustomTaskPath ($moduleName, $relativeTaskFolder) |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName and $relativeTaskFolder as parameters. |
Private Attributes | |
$moduleName | |
$moduleBasePath | |
$relativeClassPath | |
$relativeTaskPath |
Definition at line 7 of file class.ilChatroomObjectDefinition.php.
ilChatroomObjectDefinition::__construct | ( | $moduleName, | |
$moduleBasePath, | |||
$relativeClassPath = 'classes' , |
|||
$relativeTaskPath = 'tasks' |
|||
) |
Sets class parameters using given parameters.
string | $moduleName | |
string | $moduleBasePath | |
string | $relativeClassPath | |
string | $relativeTaskPath |
Definition at line 36 of file class.ilChatroomObjectDefinition.php.
References $moduleBasePath, $moduleName, $relativeClassPath, and $relativeTaskPath.
ilChatroomObjectDefinition::buildTask | ( | $task, | |
ilChatroomObjectGUI | $gui | ||
) |
Builds and returns new task using given $task and $gui.
string | $task | |
ilChatroomObjectGUI | $gui |
Definition at line 100 of file class.ilChatroomObjectDefinition.php.
References getTaskClassName().
|
static |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName as parameter.
string | $moduleName |
Definition at line 50 of file class.ilChatroomObjectDefinition.php.
References $moduleName.
Referenced by ilObjChatroomGUI\getObjectDefinition().
|
static |
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName and $relativeTaskFolder as parameters.
string | $moduleName | |
string | $relativeTaskFolder |
Definition at line 64 of file class.ilChatroomObjectDefinition.php.
References $moduleName.
Referenced by ilObjChatroomAdminGUI\getObjectDefinition().
ilChatroomObjectDefinition::getTaskClassName | ( | $task | ) |
Builds task classname using given $task and returns it.
string | $task |
Definition at line 113 of file class.ilChatroomObjectDefinition.php.
Referenced by buildTask(), and getTaskPath().
ilChatroomObjectDefinition::getTaskPath | ( | $task | ) |
Builds task path using given $task and returns it.
string | $task |
Definition at line 123 of file class.ilChatroomObjectDefinition.php.
References getTaskClassName().
Referenced by hasTask(), and loadTask().
ilChatroomObjectDefinition::hasTask | ( | $task | ) |
Returns true if file exists.
string | $task |
Definition at line 78 of file class.ilChatroomObjectDefinition.php.
References 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 88 of file class.ilChatroomObjectDefinition.php.
References getTaskPath().
|
private |
Definition at line 17 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct().
|
private |
Definition at line 12 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct(), getDefaultDefinition(), and getDefaultDefinitionWithCustomTaskPath().
|
private |
Definition at line 22 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct().
|
private |
Definition at line 27 of file class.ilChatroomObjectDefinition.php.
Referenced by __construct().