Class: base_options

Quellcode Position: Program_Root/base_options.php

Class base_options

Class Overview

Basic options of papaya-cms

Implementiert in Program_Root/base_options.php [Zeile 24]

base_object
   |
   --base_db
      |
      --base_options
Author(s): Information Tags:

Properties

Methods

Direct Derivates
Abgeleitete Class Description
papaya_options papaya_options variable

Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_db

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

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   $dburi  
mixed   $optgroups  
mixed   $options  
mixed   $optlinks  
mixed   $opt_fields  
mixed   $tables  
mixed   $table_options  

Method Summary
void   define()  
void   defineDatabaseTables()   Define database table
void   loadAndDefine()   Load and define

Properties
mixed   $dburi = PAPAYA_DB_URI [Zeile 25]
Neudefinition von:
base_db::$dburi
Database URI
Neu definiert in folgenden Ableitungen:

mixed   $optgroups [Zeile 29]

mixed   $options [Zeile 28]

mixed   $optlinks [Zeile 30]

mixed   $opt_fields = array('PAPAYA_DBG_DATABASE_ERROR' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 1),
'PAPAYA_DBG_DATABASE_EXPLAIN' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_DBG_XML_OUTPUT' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 1),
'PAPAYA_DBG_XML_ERROR' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 1),
'PAPAYA_DBG_RUNTIME_XSLT' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_DBG_RUNTIME_PHP' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_DBG_XML_USERINPUT' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 1),
'PAPAYA_DBG_PHRASES' => array(3, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_DBG_PHP_ERROR' => array(3, 'isNum', 'combo',
array(E_ALL=>'E_ALL',2039=>'E_ALL ^ E_NOTICE',1015=>'E_ALL ^ (E_NOTICE | E_USER_NOTICE)',0=>'None'), 2039),

'PAPAYA_PATH_DATA' => array(2, 'isPath', 'input', '100', ''),
'PAPAYA_PATH_WEB' => array(2, 'isPath', 'input', '100', '/'),

'PAPAYA_PROJECT_TITLE' => array(5, 'isSomeText', 'input', '50', 'Papaya-Project'),
'PAPAYA_CACHE_TIME' => array(5, 'isNum', 'input', '5', 0),
'PAPAYA_COMPRESS_OUTPUT' => array(5, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_START_SESSION' => array(5, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_CONTENT_LANGUAGE' => array(5, 'isAlpha', 'function', 'getContentLanguageCombo', 'de_DE'),
'PAPAYA_DEFAULT_HOST' => array(5, 'isHTTPHost', 'input', '40', ''),
'PAPAYA_DEFAULT_HOST_ACTION' => array(5, 'isNum', 'combo', array('0'=>'None', '1'=>'Redirect'), ''),

'PAPAYA_VERSIONS_MAXCOUNT'=> array(7, 'isNum', 'input', '5', 200),
'PAPAYA_UI_THEME' => array(7, 'isAlpha', 'dircombo', array('themes/', 'admin'), 'default'),
'PAPAYA_UI_LANGUAGE' => array(7, 'isAlpha', 'function', 'getInterfaceLanguageCombo', 'de_DE'),
'PAPAYA_OFFLINE_MODE' => array(7, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_USE_RICHTEXT' => array(7, 'isNum', 'combo', array(1=>'on',0=>'off'), 0),
'PAPAYA_USE_FLASHCONTROLS'=> array(7, 'isNum', 'combo', array(1=>'on',0=>'off'), 1),
'PAPAYA_MAX_UPLOAD_SIZE' => array(7, 'isNum', 'input', 3, 7),
'PAPAYA_XSLT_EXTENSION' => array(7, 'isAlpha', 'function', 'getXSLTExtensionsCombo', ''),
'PAPAYA_URL_EXTENSION' => array(7, 'isAlpha', 'combo',
array('html'=>'html', 'php'=>'php', 'papaya'=>'papaya'), 'html'),
'PAPAYA_SEARCH_BOOLEAN' => array(7, 'isNum', 'combo', array(0=>'generic SQL (LIKE)',1=>'MySQL FULLTEXT', 2=>'MySQL FULLTEXT BOOLEAN (MySQL >= 4.1)'), 0),
'PAPAYA_THUMBS_FILETYPE' => array(7, 'isNum', 'combo', array(1=>'GIF', 2=>'JPEG', 3=>'PNG'), 2),

'PAPAYA_LAYOUT_TEMPLATES' => array(8, 'isAlphaNum', 'dircombo', array('templates/', 'upload'), 'standard-html'),
'PAPAYA_LAYOUT_THEME' => array(8, 'isAlphaNum', 'dircombo', array('papaya-themes/', 'page'), 'standard'),

'PAPAYA_PAGEID_DEFAULT' => array(9, 'isNum', 'input', '5', 1),
'PAPAYA_PAGEID_USERDATA' => array(9, 'isNum', 'input', '5', 0),
'PAPAYA_PAGEID_ERROR_403' => array(9, 'isNum', 'input', '5', 0),
'PAPAYA_PAGEID_ERROR_404' => array(9, 'isNum', 'input', '5', 0),
'PAPAYA_PAGEID_ERROR_500' => array(9, 'isNum', 'input', '5', 0),

'PAPAYA_URLMARKER' => array(6, 'isAlpha', 'input', 10, 'papaya'),

'PAPAYA_DB_TABLEPREFIX' => array(6, 'isAlpha', 'input', 5, 'papaya'),
'PAPAYA_PATH_ADMIN' => array(6, 'isAlpha', 'input', 60, '/papaya'),
)
[Zeile 32]

mixed   $tables = array('PAPAYA_DB_TBL_AUTHGROUPS' => 'auth_groups',
'PAPAYA_DB_TBL_AUTHLINK' => 'auth_link',
'PAPAYA_DB_TBL_AUTHPERM' => 'auth_perm',
'PAPAYA_DB_TBL_AUTHUSER' => 'auth_user',
'PAPAYA_DB_TBL_AUTHOPTIONS' => 'auth_useropt',
'PAPAYA_DB_TBL_AUTHMODPERMS' => 'auth_modperm',
'PAPAYA_DB_TBL_AUTHMODPERMLINKS' => 'auth_modperm_link',

'PAPAYA_DB_TBL_BOX' => 'box',
'PAPAYA_DB_TBL_BOX_PUBLIC' => 'box_public',
'PAPAYA_DB_TBL_BOX_VERSIONS' => 'box_versions',
'PAPAYA_DB_TBL_BOXGROUP' => 'boxgroups',
'PAPAYA_DB_TBL_BOXLINKS' => 'boxlinks',
'PAPAYA_DB_TBL_CRONJOBS' => 'cronjobs',
'PAPAYA_DB_TBL_LNG' => 'lng',
'PAPAYA_DB_TBL_LOG' => 'log',
'PAPAYA_DB_TBL_MEDIA_FILES' => 'media_files',
'PAPAYA_DB_TBL_MEDIA_FOLDERS' => 'media_folders',
'PAPAYA_DB_TBL_MESSAGES' => 'messages',
'PAPAYA_DB_TBL_MIMETYPES' => 'mimetypes',
'PAPAYA_DB_TBL_MODULES' => 'modules',
'PAPAYA_DB_TBL_MODULEGROUPS' => 'modulegroups',
'PAPAYA_DB_TBL_NDIMURLS' => 'urls',
'PAPAYA_DB_TBL_PHRASE' => 'phrase',
'PAPAYA_DB_TBL_PHRASE_LOG' => 'phrase_log',
'PAPAYA_DB_TBL_PHRASE_MODULE' => 'phrase_module',
'PAPAYA_DB_TBL_PHRASE_MODULE_REL'=> 'phrase_relmod',
'PAPAYA_DB_TBL_PHRASE_TRANS' => 'phrase_trans',
'PAPAYA_DB_TBL_SURFER' => 'surfer',
'PAPAYA_DB_TBL_SURFERGROUPS' => 'surfergroups',
'PAPAYA_DB_TBL_SURFERPERM' => 'surferperm',
'PAPAYA_DB_TBL_SURFERPERMLINK' => 'surferlinks',
'PAPAYA_DB_TBL_TOPICS' => 'topic',
'PAPAYA_DB_TBL_TOPICS_VERSIONS' => 'topic_versions',
'PAPAYA_DB_TBL_TOPICS_PUBLIC' => 'topic_public',
'PAPAYA_DB_TBL_VIEWS' => 'views')
[Zeile 83]

mixed   $table_options = PAPAYA_DB_TBL_OPTIONS [Zeile 26]
Neu definiert in folgenden Ableitungen:

Methods
define  [Zeile 179]

  void define( mixed $name, mixed $value  )



defineDatabaseTables  [Zeile 127]

  void defineDatabaseTables( )

Define database table


API Tags:
Access:  public


loadAndDefine  [Zeile 142]

  void loadAndDefine( )

Load and define


API Tags:
Access:  public