Class: papaya_options

Quellcode Position: Program_Root/papaya_options.php

Class papaya_options

Class Overview
Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_options

base_options::$optgroups
base_options::$options
base_options::$optlinks
base_options::$opt_fields
base_options::$tables

Abgeleitet von base_db

base_db::$dbobj_name
base_db::$dbsocket
base_db::$db_obj
base_db::$msgs

Abgeleitet von base_options

base_options::define()
base_options::defineDatabaseTables()
Define database table
base_options::loadAndDefine()
Load and define

Abgeleitet von base_db

base_db::createDBObject()
Create data base object(PEAR)
base_db::db_addField()
Interface function: insert field
base_db::db_addIndex()
Interface function: insert index
base_db::db_changeField()
Interface function: change field
base_db::db_changeIndex()
Interface function: change index
base_db::db_connect()
Connect to data base object
base_db::db_createTable()
Interface function: create given table
base_db::db_deleteRecord()
Interface function: delete database record
base_db::db_deleteRecords()
Interface function: delete records
base_db::db_dropField()
Interface function: delete field
base_db::db_dropIndex()
Interface function: delete index
base_db::db_emptyTable()
Interface function: delete ALL data in this table
base_db::db_getSQLSource()
DBMS spezific SQL source
base_db::db_insertRecord()
Interface function: create new record, return ID, set default values
base_db::db_insertRecords()
Interface function: insert records
base_db::db_query()
Interface function: submit database query
base_db::db_queryFmt()
Interface function: escape params and submit query
base_db::db_queryTableNames()
Interface function: delete all table names
base_db::db_queryTableStructure()
Interface function: table structur returned as array
base_db::db_updateRecord()
Interface function: change data record
base_db::db_updateRecords()
Interface function: change data records
base_db::escapeStr()
Store string in sql for use

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   $advanced_options  
mixed   $css_class_input  
mixed   $dburi  
mixed   $table_options  

Method Summary
void   activateTheme()   activate theme
booelan   checkDialogInput()   Check dialog input
void   checkDirectoriesWriteable()  
void   checkDirectoryWriteable()  
void   checkOptions()   Check options
void   execute()   Execute - basic function fot handling parameters
string   getAdminThemesCombo()   Get admin themes combo
string   getContentLanguageCombo()   Get language combo
void   getForm()   Get form
string   getInterfaceLanguageCombo()   Get language combo
void   getList()   Get list of options
void   getXML()   Get XML
void   getXMLButtons()   get XML Buttons
string   getXSLTExtensionsCombo()   Get XSLT extensions combo
void   initialize()   Initialize parameters
void   initOptionDialog()   initilaize option dialog
boolean   loadOptGroups()   Load option groups
void   loadOptions()   Load options
void   removeUnknown()   Remove Unknown
boolean   save()   Save option to database table

Properties
mixed   $advanced_options = array(1,6) [Zeile 26]

mixed   $css_class_input = biginput [Zeile 24]

mixed   $dburi = PAPAYA_DB_URI [Zeile 21]
Neudefinition von:
base_options::$dburi

mixed   $table_options = PAPAYA_DB_TBL_OPTIONS [Zeile 22]
Neudefinition von:
base_options::$table_options

Methods
activateTheme  [Zeile 218]

  void activateTheme( string $basepath, string $theme  )

activate theme

Parameters:
string   $basepath: 
string   $theme: 

API Tags:
Access:  public


checkDialogInput  [Zeile 482]

  booelan checkDialogInput( )

Check dialog input


API Tags:
Access:  public


checkDirectoriesWriteable  [Zeile 531]

  void checkDirectoriesWriteable( )



checkDirectoryWriteable  [Zeile 506]

  void checkDirectoryWriteable( mixed $path, mixed $name  )



checkOptions  [Zeile 155]

  void checkOptions( )

Check options


API Tags:
Access:  public


execute  [Zeile 66]

  void execute( )

Execute - basic function fot handling parameters


API Tags:
Access:  public


getAdminThemesCombo  [Zeile 399]

  string getAdminThemesCombo( string $name, array $element, mixed $data  )

Get admin themes combo

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

API Tags:
Return:  XML
Access:  public


getContentLanguageCombo  [Zeile 457]

  string getContentLanguageCombo( string $name, array $element, mixed $data  )

Get language combo

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

API Tags:
Return:  XML
Access:  public


getForm  [Zeile 349]

  void getForm( )

Get form


API Tags:
Access:  public


getInterfaceLanguageCombo  [Zeile 429]

  string getInterfaceLanguageCombo( string $name, array $element, mixed $data  )

Get language combo

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

API Tags:
Return:  XML
Access:  public


getList  [Zeile 249]

  void getList( [boolean $all = false]  )

Get list of options

Parameters:
boolean   $all:  optional, default value false

API Tags:
Access:  public


getXML  [Zeile 98]

  void getXML( )

Get XML


API Tags:
Access:  public


getXMLButtons  [Zeile 33]

  void getXMLButtons( )

get XML Buttons


API Tags:
Access:  public


getXSLTExtensionsCombo  [Zeile 365]

  string getXSLTExtensionsCombo( string $name, array $element, mixed $data  )

Get XSLT extensions combo

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

API Tags:
Access:  public


initialize  [Zeile 51]

  void initialize( )

Initialize parameters


API Tags:
Access:  public


initOptionDialog  [Zeile 311]

  void initOptionDialog( )

initilaize option dialog


API Tags:
Access:  public


loadOptGroups  [Zeile 203]

  boolean loadOptGroups( )

Load option groups


API Tags:
Return:  true
Access:  public


loadOptions  [Zeile 109]

  void loadOptions( )

Load options


API Tags:
Access:  public


removeUnknown  [Zeile 135]

  void removeUnknown( )

Remove Unknown


API Tags:
Access:  public


save  [Zeile 231]

  boolean save( )

Save option to database table


API Tags:
Access:  public