Class: base_log

Quellcode Position: Program_Root/base_log.php

Class base_log

Class Overview
Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_db

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

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   $baselink  
mixed   $dburi  
mixed   $images  
mixed   $layout  
mixed   $levels  
mixed   $msglist  
mixed   $msgs  
mixed   $paramname  
mixed   $params  
mixed   $selected  
mixed   $sel_level  
mixed   $sel_type  
mixed   $sessionparamname  
mixed   $sessionparams  
mixed   $steps  
mixed   $table  
mixed   $tabletypes  
mixed   $toolbar  

Method Summary
void   actionClear()   Action clear
void   actionDelOld()   Action delte old
string   buildlink()   Build link
mixed   deleteAll()   Delete all
mixed   deleteOld()   Delete old
string   getButtonsXML()   Get XML buttons
string   getClearDlg()   Get clear Dialog
string   getDeleteOldDlg()   Get delete old dialog
string   getList()   Get list
void   getPagesNav()   Get pages navigation
string   getSelected()   Get selected
void   getXML()   Get XML
void   initialize()   Initialize parameters
boolean   loadList()   Load list
void   loadMessage()  
boolean   loadMsgGroup()   Load message group
boolean   logMessage()   Log messages
void   logMsg()  

Properties
mixed   $baselink [Zeile 36]

mixed   $dburi = PAPAYA_DB_URI [Zeile 23]
Neudefinition von:
base_db::$dburi
Database URI

mixed   $images [Zeile 28]

mixed   $layout [Zeile 29]

mixed   $levels = array('All','Information','Warning','Error') [Zeile 32]

mixed   $msglist [Zeile 27]

mixed   $msgs [Zeile 30]
Neudefinition von:
base_db::$msgs
Message for user

mixed   $paramname = plog [Zeile 34]

mixed   $params [Zeile 37]

mixed   $selected [Zeile 42]

mixed   $sel_level = -1 [Zeile 43]

mixed   $sel_type [Zeile 44]

mixed   $sessionparamname [Zeile 35]

mixed   $sessionparams [Zeile 38]

mixed   $steps = 20 [Zeile 46]

mixed   $table = PAPAYA_DB_TBL_LOG [Zeile 24]

mixed   $tabletypes [Zeile 26]

mixed   $toolbar [Zeile 40]

Methods
actionClear  [Zeile 192]

  void actionClear( )

Action clear


API Tags:
Access:  public


actionDelOld  [Zeile 214]

  void actionDelOld( )

Action delte old


API Tags:
Access:  public


buildlink  [Zeile 449]

  string buildlink( [mixed $params = NULL], [mixed $base_params = NULL], [mixed $reset_params = NULL]  )

Build link

Parameters:
mixed   $params:  optional, default value NULL
mixed   $base_params:  optional, default value NULL
mixed   $reset_params:  optional, default value NULL

API Tags:
Access:  public


deleteAll  [Zeile 183]

  mixed deleteAll( )

Delete all


API Tags:
Access:  public


deleteOld  [Zeile 173]

  mixed deleteOld( integer $timeframe  )

Delete old

Parameters:
integer   $timeframe: 

API Tags:
Access:  public


getButtonsXML  [Zeile 415]

  string getButtonsXML( )

Get XML buttons


API Tags:
Return:  XML
Access:  public


getClearDlg  [Zeile 341]

  string getClearDlg( )

Get clear Dialog


API Tags:
Return:  XML
Access:  public


getDeleteOldDlg  [Zeile 362]

  string getDeleteOldDlg( )

Get delete old dialog


API Tags:
Return:  XML
Access:  public


getList  [Zeile 259]

  string getList( )

Get list


API Tags:
Return:  XML
Access:  public


getPagesNav  [Zeile 391]

  void getPagesNav( object &$toolbar, integer $offset, integer $step, integer $max  )

Get pages navigation

Parameters:
object   &$toolbar: 
integer   $offset: 
integer   $step: 
integer   $max: 

API Tags:
Access:  public


getSelected  [Zeile 297]

  string getSelected( )

Get selected


API Tags:
Return:  XML
Access:  public


getXML  [Zeile 241]

  void getXML( )

Get XML


API Tags:
Access:  public


initialize  [Zeile 53]

  void initialize( )

Initialize parameters


API Tags:
Access:  public


loadList  [Zeile 114]

  boolean loadList( )

Load list


API Tags:
Access:  public


loadMessage  [Zeile 135]

  void loadMessage( mixed $id  )



loadMsgGroup  [Zeile 158]

  boolean loadMsgGroup( )

Load message group


API Tags:
Access:  public


logMessage  [Zeile 83]

  boolean logMessage( integer $msgno, integer $msgtype, string $msg_short, [string $msg_long = '']  )

Log messages

Parameters:
integer   $msgno: 
integer   $msgtype: 
string   $msg_short: 
string   $msg_long: 

API Tags:
Access:  public


logMsg  [Zeile 104]

  void logMsg( mixed $level, mixed $type, mixed $short, [mixed $long = '']  )


Neudefinition von:
base_object::logMsg()
Log events