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, $page )
Constructor for the class cModuleHandler. With this class you can create a new module, rename a module. You can save a Output from modules and Input in a file. The save rules are [Modulname] (is unique) 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
|
|
private
string
|
|
private
boolean
|
|
private
|
|
private
|
|
private
|
|
private
|
|
public
|
|
private
integer
|
#
_havePremission(
Have the user premissions for the actions. |
private
|
#
_validateHTML( {cGuiNotification} $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
|
$_code
|
|
private
|
$_file
|
|
private
|
$_tmpFile
|
|
private
|
$_area
|
|
private
|
$_frame
|
|
private
|
$_status
|
|
private
|
$_action
|
|
private
|
$_new
|
|
private
|
$_delete
|
|
private
|
$_selectedFile
|
|
private
|
$_reloadScript
|
|
private
|
$_page
|
#
NULL
|
private
|
$_notification
|
#
NULL
|
private
string
|
$_templateFileEnding
The file end of template files. |
#
'html'
|
private
string
|
$_newFileName
The name of the new file. |
#
'newfilename'
|
private
string
|
$_actionCreate
Action name for create htmltpl |
#
'htmltpl_create'
|
private
string
|
$_actionEdit
Action name for edit htmltpl |
#
'htmltpl_edit'
|
private
string
|
$_actionDelete
Action name for delete htmltpl_edit |
#
'htmltpl_delete'
|
private
string
|
$_testArea
In template we test if we have premission for htmltpl. |
#
'htmltpl'
|
$_cfg,
$_cfgClient,
$_client,
$_description,
$_directories,
$_encoding,
$_encodingStore,
$_fileEncoding,
$_idlang,
$_idmod,
$_input,
$_moduleAlias,
$_output,
$_type
|