|
ILIAS
Release_4_3_x_branch Revision 61807
|
Description of class. More...
Collaboration diagram for ilDBayObjectDefinition: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().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDBayObjectDefinition::hasTask | ( | $task | ) |
Returns true if file exists.
| string | $task |
Definition at line 74 of file class.ilDBayObjectDefinition.php.
References getTaskPath().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
|
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().