Class class_element_admin

Description

The base class for all page-elements

Located in /admin/class_element_admin.php (line 16)

class_admin
   |
   --class_element_admin
Direct descendents
Class Description
class_element_basedownloads Class representing the admin-part of the downloads element
class_element_baselatestlist Class representing the admin-part of the downloadstoplist element
class_element_baseregistration Class to handle the admin-stuff of the baseregistration-element
class_element_basetophitlist Class representing the admin-part of the downloadstoplist element
class_element_basetopratelist Class representing the admin-part of the downloadstoplist element
class_element_baseupload Class to handle the admin-stuff of the baseupload-element
class_element_downloads Class representing the admin-part of the downloads element
class_element_downloads_toplist Class representing the admin-part of the downloadstoplist element
class_element_faqs Class representing the admin-part of the faqs element
class_element_formular Class to handle the admin-stuff of the formular-element
class_element_gallery Class representing the admin-part of the gallery element
class_element_galleryRandom Class representing the admin-part of the gallery element
class_element_guestbook Class representing the admin-part of the guestbook element
class_element_image Class to handle the admin-part of the element
class_element_imagelightbox Class to handle the admin-stuff of the imagelightbox-element
class_element_languageswitch Class to handle the admin-part of the element
class_element_lastmodified Class to handle the admin-stuff of the lastmodified-element
class_element_mediaplayer Class to handle the admin-stuff of the mediaplayer-element
class_element_mybase Class to handle the admin-stuff of the mybase-element
class_element_navigation Admin class of the navigation element
class_element_news Class representing the admin-part of the news element
class_element_paragraph Admin class to handle the paragraphs
class_element_portallogin Class to handle the admin-stuff of the portallogin-element
class_element_portalregistration Class to handle the admin-stuff of the portalregistration-element
class_element_portalstats Class to handle the admin-stuff of the portalstats-element
class_element_portalupload Class to handle the admin-stuff of the portalupload-element
class_element_postacomment Class representing the admin-part of the postacomment element
class_element_rendertext Admin class to handle the rendertext
class_element_row Admin class to handle the paragraphs
class_element_rssfeed Class to handle the admin-stuff of the rssfeed-element
class_element_search Class representing the search element on the admin side
class_element_tagcloud Class to handle the admin-stuff of the tagcloud-element
class_element_tagto Class to handle the admin-stuff of the tagto-element
class_element_tellafriend Class to handle the admin-stuff of the tellafriend-element
class_element_textticker Class to handle the admin-stuff of the textticker-element
Method Summary
class_element_admin __construct (mixed $arrModule)
string actionEdit ([string $strMode = "edit"])
void addOptionalFormElement (string $strContent)
void doAfterSaveToDb ()
string getContentTitle ()
string getTable ()
mixed loadElementData ()
void setDoValidation (bool $bitDoValidation)
Variables
Methods
Constructor __construct (line 33)

Constructor

  • access: public
class_element_admin __construct (mixed $arrModule)
  • mixed $arrModule

Redefinition of:
class_admin::__construct()
Constructor

Redefined in descendants as:
actionEdit (line 50)

Forces the element to return a form and adds als stuff needed by the system to handle the request properly

  • access: public
string actionEdit ([string $strMode = "edit"])
  • string $strMode: edit || new
addOptionalFormElement (line 239)

Sub-classes can use this method to add content to the system-form.

Elements in the system-form are hidden by default. Using this form-section is usefull for mostly unused settings.

  • since: 3.3
  • access: protected
void addOptionalFormElement (string $strContent)
  • string $strContent
doAfterSaveToDb (line 216)

Overwrite this method, if you want to execute some special actions right after saving the element to the db, e.g.

cleanup functions.

  • since: 3.2.1
  • access: public
void doAfterSaveToDb ()

Redefined in descendants as:
getContentTitle (line 189)

Returns a short description of the saved content Overwrite if needed

  • access: public
string getContentTitle ()

Redefined in descendants as:
getElementDescription (line 201)

Returns a textual description of the current element, based on the lang key element_description.

  • since: 3.2.1
  • access: public
string getElementDescription ()
getTable (line 178)

returns the table used by the element

  • access: public
string getTable ()
loadElementData (line 141)

Loads the data of the current element

  • access: protected
mixed loadElementData ()
setDoValidation (line 227)

If the form generated should be validated, pass true. This invokes the internal validation and printing of errors.

By default, the value is false. The framework sets the value, so there's no need to call this setter in concrete element classes.

  • access: public
void setDoValidation (bool $bitDoValidation)
  • bool $bitDoValidation

Inherited Methods

Inherited From class_admin

class_admin::__construct()
class_admin::addValidationError()
class_admin::adminReload()
class_admin::flushCompletePagesCache()
class_admin::flushPageFromPagesCache()
class_admin::generateSystemid()
class_admin::getAction()
class_admin::getAllParams()
class_admin::getArrModule()
class_admin::getEditDate()
class_admin::getHistory()
class_admin::getLanguageToWorkOn()
class_admin::getLastEditUser()
class_admin::getModuleData()
class_admin::getModuleDescription()
class_admin::getModuleOutput()
class_admin::getModuleSystemid()
class_admin::getObjRights()
class_admin::getObjText()
class_admin::getOutputContent()
class_admin::getOutputLogin()
class_admin::getOutputMainNavi()
class_admin::getOutputModuleNavi()
class_admin::getOutputModuleTitle()
class_admin::getParam()
class_admin::getPathArray()
class_admin::getPrevId()
class_admin::getRequiredFields()
class_admin::getStatus()
class_admin::getSystemid()
class_admin::getSystemRecord()
class_admin::getText()
class_admin::getValidationErrors()
class_admin::setAbsolutePosition()
class_admin::setArrModuleEntry()
class_admin::setEditDate()
class_admin::setHistory()
class_admin::setParam()
class_admin::setPosition()
class_admin::setStatus()
class_admin::setStrTextBase()
class_admin::setSystemid()
class_admin::setTemplateArea()
class_admin::validateForm()
class_admin::validateSystemid()

Documentation generated on Mon, 12 Apr 2010 21:20:02 +0200 by phpDocumentor 1.4.3