Class: base_viewlist

Quellcode Position: Program_Root/base_viewlist.php

Class base_viewlist

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   $class  
mixed   $classlist  
mixed   $class_id  
mixed   $dburi  
mixed   $msgs  
mixed   $paramname  
mixed   $params  
mixed   $sessionparams  
mixed   $table_modules  
mixed   $table_views  
mixed   $view  
mixed   $viewlist  
mixed   $view_id  
mixed   $xsl_path  

Method Summary
base_viewlist   base_viewlist()   Constructor
mixed   add()   Add
void   changeNodeState()   Change node state
array   checkInput()   Check input
mixed   del()   Delete
void   execute()  
string   getButtonsXML()   Get XML buttons
string   getClassInfo()   Get class info
string   getDelForm()   Get delete formular
string   getEdit()   Get edit
void   getFilesCombo()  
string   getTree()   Get tree
void   getXML()  
string   getXSLFiles()   Get XSL files
void   initialize()   Initialize parameters
boolean   loadClass()   Load class
void   loadList()   Load list
boolean   loadView()   Load view
mixed   loadViewUseCount()   get use counts
mixed   save()   Save

Properties
mixed   $baselink [Zeile 35]

mixed   $class [Zeile 41]

mixed   $classlist [Zeile 38]

mixed   $class_id [Zeile 44]

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

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

mixed   $paramname [Zeile 32]

mixed   $params [Zeile 33]

mixed   $sessionparams [Zeile 34]

mixed   $table_modules = PAPAYA_DB_TBL_MODULES [Zeile 29]

mixed   $table_views = PAPAYA_DB_TBL_VIEWS [Zeile 28]

mixed   $view [Zeile 40]

mixed   $viewlist [Zeile 37]

mixed   $view_id [Zeile 43]

mixed   $xsl_path = PAPAYA_XSLFILES_PATH_PAGES [Zeile 30]

Methods
Constructor base_viewlist  [Zeile 54]

  base_viewlist base_viewlist( [string $paramname = 'vl']  )

Constructor

Parameters:
string   $paramname:  optional, default value 'vl'

API Tags:
Access:  public


add  [Zeile 495]

  mixed add( )

Add


API Tags:
Access:  public


changeNodeState  [Zeile 66]

  void changeNodeState( integer $node_id, string $state  )

Change node state

Parameters:
integer   $node_id: 
string   $state: 

API Tags:
Access:  public


checkInput  [Zeile 445]

  array checkInput( )

Check input


API Tags:
Access:  public


del  [Zeile 522]

  mixed del( )

Delete


API Tags:
Access:  public


execute  [Zeile 87]

  void execute( )



getButtonsXML  [Zeile 587]

  string getButtonsXML( )

Get XML buttons


API Tags:
Return:  XML
Access:  public


getClassInfo  [Zeile 536]

  string getClassInfo( )

Get class info


API Tags:
Access:  public


getDelForm  [Zeile 318]

  string getDelForm( )

Get delete formular


API Tags:
Access:  public


getEdit  [Zeile 342]

  string getEdit( )

Get edit


API Tags:
Access:  public


getFilesCombo  [Zeile 425]

  void getFilesCombo( mixed &$files, mixed $paramname, mixed $data, [mixed $must = false]  )



getTree  [Zeile 265]

  string getTree( )

Get tree


API Tags:
Access:  public


getXML  [Zeile 605]

  void getXML( )



getXSLFiles  [Zeile 561]

  string getXSLFiles( )

Get XSL files


API Tags:
Return:  XSL
Access:  public


initialize  [Zeile 80]

  void initialize( )

Initialize parameters


API Tags:
Access:  public


loadClass  [Zeile 212]

  boolean loadClass( integer $id  )

Load class

Parameters:
integer   $id: 

API Tags:
Access:  public


loadList  [Zeile 153]

  void loadList( )

Load list


API Tags:
Access:  public


loadView  [Zeile 189]

  boolean loadView( integer $id  )

Load view

Parameters:
integer   $id: 

API Tags:
Access:  public


loadViewUseCount  [Zeile 236]

  mixed loadViewUseCount( mixed $view_id  )

get use counts


API Tags:
Access:  public


save  [Zeile 472]

  mixed save( )

Save


API Tags:
Access:  public