Class: base_dialog

Quellcode Position: Program_Root/base_dialog.php

Class base_dialog

Class Overview
Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_object

base_object::$msgs

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   $baselink  
mixed   $button_title  
mixed   $css_class_input  
mixed   $data  
mixed   $dialog_hint  
mixed   $dialog_id  
mixed   $dialog_title  
mixed   $dlg_doublebtns  
mixed   $expand_papayatags  
array   $fields   Name => (
mixed   $hidden  
mixed   $input_errors  
mixed   $owner  
mixed   $paramname  
mixed   $parser  
mixed   $text_no  
mixed   $text_yes  

Method Summary
base_dialog   base_dialog()   Constructor
boolean   checkDialogInput()   Check dialog input
string   getDialogXML()   Get dialog XML
string   getDirectoryCombo()   Get directory combo
string   getDlgElement()  
string   getFieldCheckGroup()   Get field check group
string   getFieldCombo()   Get field combo
string   getFieldRadioGroup()   Get field radio group
string   getFileCombo()   Get file combo
string   getHidden()   Get hidden
void   getMediaImage()  
string   getMsgDialog()  
void   loadParams()   Load parameters
boolean   modified()   Did data in formular change ? If true save data
string   prepareRichTextData()   Prepare HTML area data

Properties
mixed   $baselink [Zeile 22]

mixed   $button_title = Save [Zeile 46]

mixed   $css_class_input = input [Zeile 23]

mixed   $data = null [Zeile 42]

mixed   $dialog_hint [Zeile 47]

mixed   $dialog_id [Zeile 52]

mixed   $dialog_title = Edit [Zeile 45]

mixed   $dlg_doublebtns = false [Zeile 54]

mixed   $expand_papayatags = false [Zeile 57]

array   $fields = null [Zeile 41]

Name => (


mixed   $hidden = null [Zeile 43]

mixed   $input_errors = null [Zeile 59]

mixed   $owner = null [Zeile 25]

mixed   $paramname [Zeile 27]

mixed   $parser = null [Zeile 56]

mixed   $text_no = No [Zeile 50]

mixed   $text_yes = Yes [Zeile 49]

Methods
Constructor base_dialog  [Zeile 71]

  base_dialog base_dialog( object &$aowner, string $paramname, array &$fields, array &$data, array &$hidden  )

Constructor

Parameters:
object   &$aowner:  base_object
string   $paramname: 
array   &$fields: 
array   &$data: 
array   &$hidden: 

API Tags:
Access:  public


checkDialogInput  [Zeile 539]

  boolean checkDialogInput( )

Check dialog input


API Tags:
Access:  public


getDialogXML  [Zeile 95]

  string getDialogXML( )

Get dialog XML


API Tags:
Return:  '' or XML
Access:  public


getDirectoryCombo  [Zeile 404]

  string getDirectoryCombo( string $name, array $element, array $data, string $path, [string $basedir = '']  )

Get directory combo

Parameters:
string   $name: 
array   $element: 
array   $data: 
string   $path: 
string   $basedir:  optional, default value ''

API Tags:
Access:  public


getDlgElement  [Zeile 191]

  string getDlgElement( string $name, array &$element, string $data  )

Parameters:
string   $name: 
array   &$element: 
string   $data: 

API Tags:
Access:  public


getFieldCheckGroup  [Zeile 518]

  string getFieldCheckGroup( string $name, array $element, array $data  )

Get field check group

Parameters:
string   $name: 
array   $element: 
array   $data: 

API Tags:
Access:  public


getFieldCombo  [Zeile 470]

  string getFieldCombo( string $name, array $element, array $data  )

Get field combo

Parameters:
string   $name: 
array   $element: 
array   $data: 

API Tags:
Access:  public


getFieldRadioGroup  [Zeile 494]

  string getFieldRadioGroup( string $name, array $element, array $data  )

Get field radio group

Parameters:
string   $name: 
array   $element: 
array   $data: 

API Tags:
Access:  public


getFileCombo  [Zeile 376]

  string getFileCombo( string $name, array $element, array $data, string $path, string $regex  )

Get file combo

Parameters:
string   $name: 
array   $element: 
array   $data: 
string   $path: 
string   $regex: 

API Tags:
Access:  public


getHidden  [Zeile 164]

  string getHidden( )

Get hidden


API Tags:
Return:  '' or HTML
Access:  public


getMediaImage  [Zeile 439]

  void getMediaImage( mixed $name, mixed $element, mixed $data, mixed $element_id  )



getMsgDialog  [Zeile 146]

  string getMsgDialog( string $msg, string $type  )

Parameters:
string   $msg: 
string   $type: 

API Tags:
Return:  '' or XML
Access:  public


loadParams  [Zeile 85]

  void loadParams( )

Load parameters


API Tags:
Access:  public


modified  [Zeile 604]

  boolean modified( [string $marker = 'save']  )

Did data in formular change ? If true save data

Parameters:
string   $marker:  optional, default value 'save'


prepareRichTextData  [Zeile 343]

  string prepareRichTextData( string $str  )

Prepare HTML area data

Parameters:
string   $str: 

API Tags:
Access:  public