ePages 6.14.0 - DE_EPAGES/TLE/API/GUIHandler.pm

Package DE_EPAGES::TLE::API::GUIHandler

Implements the #GUI block

Functions

GUI
registerGUIObject

GUI

Declares a local TLE 'GUI Element Object' that is valid for this BLOCK in the template.

Syntax
#GUI(#ElementType, #LocalName) ... #ENDGUI
Example
#GUI("accordion")
  #GUI.item(
    "title"  = "1. Title",
    "content"= "Content text"
  )
#ENDGUI
#GUI("accordion", "Accordion")
  #Accordion.item(
    "title"  = "1. Title",
    "content"= "Content text"
  )
#ENDGUI
Input
#ElementType (string)
element type, e.g. "accordion"
#ElementName (string)
element name, e.g. "MyAccordion"
Return
$Result (String)
proccessed TemplateFile

registerGUIObject

this function register a new gui type to this gui tle handler

Syntax
$Handler->registerGUIObject($Package, $Type);
Input
$Package (object)
package of the gui type
$Type (object)
gui type