ILIAS
release_4-3 Revision
|
Description of class. More...
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, ilDBayObjectGUI $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 ilDBayObjectDefinition, using given $moduleName as parameter. | |
static | getDefaultDefinitionWithCustomTaskPath ($moduleName, $relativeTaskFolder) |
Returns an Instance of ilDBayObjectDefinition, using given $moduleName and $relativeTaskFolder as parameters. |
Private Attributes | |
$moduleName | |
$moduleBasePath | |
$relativeClassPath | |
$relativeTaskPath |
Description of class.
Definition at line 13 of file class.ilDBayObjectDefinition.php.
ilDBayObjectDefinition::__construct | ( | $moduleName, | |
$moduleBasePath, | |||
$relativeClassPath = 'classes' , |
|||
$relativeTaskPath = 'tasks' |
|||
) |
Sets class parameters using given parameters.
string | $moduleName | |
string | $moduleBasePath | |
string | $relativeClassPath | |
string | $relativeTaskPath |
Definition at line 29 of file class.ilDBayObjectDefinition.php.
References $moduleBasePath, $moduleName, $relativeClassPath, and $relativeTaskPath.
ilDBayObjectDefinition::buildTask | ( | $task, | |
ilDBayObjectGUI | $gui | ||
) |
Builds and returns new task using given $task and $gui.
className | $task | |
ilDBayObjectGUI | $gui |
Definition at line 98 of file class.ilDBayObjectDefinition.php.
References getTaskClassName().
|
static |
Returns an Instance of ilDBayObjectDefinition, using given $moduleName as parameter.
string | $moduleName |
Definition at line 44 of file class.ilDBayObjectDefinition.php.
References $moduleName.
Referenced by ilObjChatroomGUI\getObjectDefinition().
|
static |
Returns an Instance of ilDBayObjectDefinition, using given $moduleName and $relativeTaskFolder as parameters.
string | $moduleName | |
string | $relativeTaskFolder |
Definition at line 59 of file class.ilDBayObjectDefinition.php.
References $moduleName.
Referenced by ilObjChatroomAdminGUI\getObjectDefinition().
ilDBayObjectDefinition::getTaskClassName | ( | $task | ) |
Builds task classname using given $task and returns it.
string | $task |
Definition at line 112 of file class.ilDBayObjectDefinition.php.
Referenced by buildTask(), and getTaskPath().
ilDBayObjectDefinition::getTaskPath | ( | $task | ) |
Builds task path using given $task and returns it.
string | $task |
Definition at line 123 of file class.ilDBayObjectDefinition.php.
References getTaskClassName().
Referenced by hasTask(), and loadTask().
ilDBayObjectDefinition::hasTask | ( | $task | ) |
Returns true if file exists.
string | $task |
Definition at line 74 of file class.ilDBayObjectDefinition.php.
References getTaskPath().
ilDBayObjectDefinition::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 85 of file class.ilDBayObjectDefinition.php.
References getTaskPath().
|
private |
Definition at line 17 of file class.ilDBayObjectDefinition.php.
Referenced by __construct().
|
private |
Definition at line 16 of file class.ilDBayObjectDefinition.php.
Referenced by __construct(), getDefaultDefinition(), and getDefaultDefinitionWithCustomTaskPath().
|
private |
Definition at line 18 of file class.ilDBayObjectDefinition.php.
Referenced by __construct().
|
private |
Definition at line 19 of file class.ilDBayObjectDefinition.php.
Referenced by __construct().