Class cModuleTemplateHandler
Class handels the view, creation, edit, delete of modul templates.
- cModuleHandler
- cModuleTemplateHandler
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rusmir Jusufovic
Located at classes/module/class.module.template.handler.php
public
|
#
__construct( integer $idmod, mixed $page )
Construct for the class cModuleHandler. With this class you can make a new Modul, rename a Modul. You can save a Output from Modul and Input in a file. The save rules are [Modulname] (is uneque) the files input and output will be named [Modulname]_input.php , [Modulname]_output.php |
public
|
#
setNewDelete( string $new, string $delete )
Set the new delete from Form. This are set if user had push the delete or new button. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
private
string
|
|
private
boolean
|
|
private
|
|
private
|
|
private
|
|
private
|
|
public
|
|
private
integer
|
#
_havePremission(
Have the user premissions for the actions. |
private
|
#
_validateHTML( mixed $notification )
This method test the code if the client setting htmlvalidator is not set to false. |
private
|
|
public
|
#
display(
Display the form and evaluate the action and excute the action. |
private
mixed
|
$_code |
|
|
private
mixed
|
$_file |
|
|
private
mixed
|
$_tmp_file |
|
|
private
mixed
|
$_area |
|
|
private
mixed
|
$_frame |
|
|
private
mixed
|
$_status |
|
|
private
mixed
|
$_action |
|
|
private
mixed
|
$_new |
|
|
private
mixed
|
$_delete |
|
|
private
mixed
|
$_selectedFile |
|
|
private
mixed
|
$_reloadScript |
|
|
private
mixed
|
$_page | NULL |
|
private
mixed
|
$_notification | null |
|
private
string
|
$_templateFileEnding | 'html' |
#
The file end of template files. |
private
string
|
$_newFileName | 'newfilename' |
#
The name of the new file. |
private
string
|
$_actionCreate | 'htmltpl_create' |
#
Action name for create htmltpl |
private
string
|
$_actionEdit | 'htmltpl_edit' |
#
Action name for edit htmltpl |
private
string
|
$_actionDelete | 'htmltpl_delete' |
#
Action name for delete htmltpl_edit |
private
string
|
$_testArea | 'htmltpl' |
#
In template we test if we have premission for htmltpl. |
$_cfg,
$_cfgClient,
$_client,
$_description,
$_directories,
$_encoding,
$_encodingStore,
$_fileEncoding,
$_idlang,
$_idmod,
$_input,
$_moduleAlias,
$_output,
$_type
|