Class: base_module

Quellcode Position: Program_Root/base_module.php

Class base_module

Class Overview

Basic objekt for all module objects

All modules must inherit this class

Implementiert in Program_Root/base_module.php [Zeile 23]

base_object
   |
   --base_plugin
      |
      --base_module
Author(s): Information Tags:

Properties

Methods

Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_plugin

base_plugin::$baselink
base_plugin::$cacheable
base_plugin::$css_class_input
base_plugin::$data
base_plugin::$editfields
base_plugin::$emptyerror
base_plugin::$field_error
base_plugin::$inputerror
base_plugin::$msgs
base_plugin::$paramname
base_plugin::$params
base_plugin::$preview
base_plugin::$tagname
base_plugin::$usesXML

Abgeleitet von base_plugin

base_plugin::base_plugin()
Constructor PHP 4
base_plugin::checkData()
Change input
base_plugin::checkDialogInput()
Check user dialog input
base_plugin::checkSurferPerm()
Check sufer permissions
base_plugin::createXMLTree()
Create XML-tree.
base_plugin::getData()
Write data array to xml string
base_plugin::getDialog()
Gibt den Dialog zurueck
base_plugin::getForm()
Edit output
base_plugin::getMediaTag()
base_plugin::getParamName()
Returns given parameter
base_plugin::getParsedData()
XML for take-over in page
base_plugin::getPermsCombo()
Callback for Select-Box with rights
base_plugin::getXHTMLString()
Create XHTML-compliant string.
base_plugin::html_nl2br()
Callback-function - transform \r\n in <br />.
base_plugin::initializeDialog()
Initialize dialog
base_plugin::modified()
data changed?
base_plugin::onLoad()
place holder - overload von ihertited classes
base_plugin::parseImageFieldData()
base_plugin::serializeArrayToXML()
base_plugin::setData()
Load configuration data in object
base_plugin::unserializeArrayFromXML()
base_plugin::_gt()
Phrase translator - fetch translation
base_plugin::__construct()
Constructor PHP 5

Abgeleitet von base_object

base_object::addmsg()
Adds a message in the message object.
base_object::createPluginObject()
Create plugin object
base_object::debug()
Show the debug of the variable &$var
base_object::encodeQueryString()
Encode query string
base_object::escapeForFilename()
Escape chars in a string to use it in a filename
base_object::getAbsoluteURL()
Return absolute URL
base_object::getBaseLink()
Get base link
base_object::getBasePath()
get base path to current script
base_object::getLink()
Get link
base_object::getSessionValue()
base_object::getWebLink()
Get web link
base_object::getWebMediaLink()
Get web media link
base_object::includePluginFile()
Include plugin file
base_object::initializeParams()
Parameter initialisation
base_object::initializeSessionParam()
Initialisation of session-parameter
base_object::logMsg()
Log events
base_object::parseRequestURI()
Parse request URI to filter data out of it
base_object::setSessionValue()
base_object::stripslashes()
base_object::_gt()
Phrasetranslator - Fetch translation for all phrase
base_object::_gtf()
Phrasetranslator - Fetch translation of one phrase and insert variable
base_object::_gtfile()
Phrases - Locate files

Properties Summary
mixed   $guid  

Method Summary
base_module   base_module()  
execModule()   Execute module
void   getXML()   Get XML
boolean   hasPerm()   check if user has permissions

Properties
mixed   $guid [Zeile 25]

Methods
Constructor base_module  [Zeile 27]

  base_module base_module( )



execModule  [Zeile 46]

  execModule( )

Execute module


API Tags:
Access:  public


getXML  [Zeile 34]

  void getXML( )

Get XML



hasPerm  [Zeile 56]

  boolean hasPerm( permission $perm_id, [boolean $showmsg = false]  )

check if user has permissions

Parameters:
permission   $perm_id: 
boolean   $showmsg:  optional, default value false

API Tags:
Access:  public