ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Copy a didactic template and all subitems. More...
Public Member Functions | |
__construct ($a_tpl_id) | |
Constructor. More... | |
getTemplateId () | |
Get template id. More... | |
getNewTemplateId () | |
Get new template id. More... | |
start () | |
Start copy. More... | |
Static Public Member Functions | |
static | appendCopyInfo ($a_orig_title) |
Private Attributes | |
$tpl_id = 0 | |
$new_tpl_id = 0 | |
Copy a didactic template and all subitems.
Definition at line 10 of file class.ilDidacticTemplateCopier.php.
ilDidacticTemplateCopier::__construct | ( | $a_tpl_id | ) |
Constructor.
int | $a_tpl_id |
Definition at line 19 of file class.ilDidacticTemplateCopier.php.
|
static |
type | $a_orig_title |
Definition at line 28 of file class.ilDidacticTemplateCopier.php.
References $GLOBALS, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilDidacticTemplateSetting\__clone().
ilDidacticTemplateCopier::getNewTemplateId | ( | ) |
Get new template id.
Definition at line 62 of file class.ilDidacticTemplateCopier.php.
References $new_tpl_id.
Referenced by start().
ilDidacticTemplateCopier::getTemplateId | ( | ) |
Get template id.
Definition at line 53 of file class.ilDidacticTemplateCopier.php.
References $tpl_id.
Referenced by start().
ilDidacticTemplateCopier::start | ( | ) |
Start copy.
Definition at line 72 of file class.ilDidacticTemplateCopier.php.
References $action, $new, $orig, ilDidacticTemplateActionFactory\getActionsByTemplateId(), getNewTemplateId(), and getTemplateId().
|
private |
Definition at line 13 of file class.ilDidacticTemplateCopier.php.
Referenced by getNewTemplateId().
|
private |
Definition at line 12 of file class.ilDidacticTemplateCopier.php.
Referenced by getTemplateId().