Class: base_boxeslinks

Quellcode Position: Program_Root/base_boxeslinks.php

Class base_boxeslinks

Class Overview
Direct Derivates
Abgeleitete Class Description
papaya_public_boxeslinks papaya_public_boxeslinks variable

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   $boxlist  
mixed   $data  
mixed   $dburi  
mixed   $linklist  
mixed   $msgs  
mixed   $paramname  
mixed   $params  
mixed   $table_box  
mixed   $table_boxgroup  
mixed   $table_link  
mixed   $table_modules  
mixed   $table_topics  
mixed   $used  

Method Summary
base_boxeslinks   base_boxeslinks()   Base boxeslinks
void   add()   Add a box into link table
void   delete()   Delete box from link table
boolean   exchange()   Exchange ( move box link from to )
void   execute()   User input Processing
void   getBoxCacheId()  
string   getBoxList()   Get Box list
mixed   getGroupedIDs()   Get grouped ids
string   getList()   Get list
void   initializeNodes()   Initiation nodes
void   loadBoxCache()  
boolean   loadBoxGroupList()   Load box group list
void   loadBoxList()   Load box list
boolean   loadDataList()   Load data list
void   loadList()   Load list
boolean   move()   Move
string   parsed()   Parse function
string   parsedBox()   Parse box ( for output )
void   writeBoxCache()  

Properties
mixed   $baselink [Zeile 36]

mixed   $boxlist [Zeile 40]

mixed   $data [Zeile 43]

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

mixed   $linklist [Zeile 41]

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

mixed   $paramname [Zeile 34]

mixed   $params [Zeile 35]

mixed   $table_box = PAPAYA_DB_TBL_BOX [Zeile 28]
Neu definiert in folgenden Ableitungen:

mixed   $table_boxgroup = PAPAYA_DB_TBL_BOXGROUP [Zeile 29]
Neu definiert in folgenden Ableitungen:

mixed   $table_link = PAPAYA_DB_TBL_BOXLINKS [Zeile 31]
Neu definiert in folgenden Ableitungen:

mixed   $table_modules = PAPAYA_DB_TBL_MODULES [Zeile 30]

mixed   $table_topics = PAPAYA_DB_TBL_TOPICS [Zeile 32]
Neu definiert in folgenden Ableitungen:

mixed   $used [Zeile 42]

Methods
Constructor base_boxeslinks  [Zeile 52]

  base_boxeslinks base_boxeslinks( array &$topic, [string $paramname = 'bl']  )

Base boxeslinks

Parameters:
array   &$topic: 
string   $paramname:  optional, default value 'bl'

API Tags:
Access:  public


add  [Zeile 352]

  void add( )

Add a box into link table


API Tags:
Access:  public


delete  [Zeile 381]

  void delete( )

Delete box from link table


API Tags:
Access:  public


exchange  [Zeile 457]

  boolean exchange( array &$src, array &$des  )

Exchange ( move box link from to )

Parameters:
array   &$src: 
array   &$des: 

API Tags:
Access:  public


execute  [Zeile 330]

  void execute( )

User input Processing


API Tags:
Access:  public


getBoxCacheId  [Zeile 508]

  void getBoxCacheId( mixed &$box  )



getBoxList  [Zeile 267]

  string getBoxList( array &$images  )

Get Box list

Parameters:
array   &$images: 

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


getGroupedIDs  [Zeile 402]

  mixed getGroupedIDs( integer $group_id  )

Get grouped ids

Parameters:
integer   $group_id: 

API Tags:
Return:  array or false
Access:  public


getList  [Zeile 181]

  string getList( array &$images, boolean $editable, string $caption  )

Get list

Parameters:
array   &$images: 
boolean   $editable: 
string   $caption: 

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


initializeNodes  [Zeile 64]

  void initializeNodes( )

Initiation nodes


API Tags:
Access:  public


loadBoxCache  [Zeile 518]

  void loadBoxCache( mixed &$box  )



loadBoxGroupList  [Zeile 127]

  boolean loadBoxGroupList( )

Load box group list


API Tags:
Access:  public


loadBoxList  [Zeile 109]

  void loadBoxList( )

Load box list


API Tags:
Access:  public


loadDataList  [Zeile 148]

  boolean loadDataList( )

Load data list


API Tags:
Access:  public


loadList  [Zeile 88]

  void loadList( )

Load list


API Tags:
Access:  public


move  [Zeile 425]

  boolean move( [string $dir = 'up']  )

Move

Parameters:
string   $dir:  optional, default value 'up'

API Tags:
Access:  public


parsed  [Zeile 554]

  string parsed( integer $id  )

Parse function

Parameters:
integer   $id: 

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


parsedBox  [Zeile 477]

  string parsedBox( array $data, [mixed $box_id = 0], [mixed $cache = true]  )

Parse box ( for output )

Parameters:
array   $data: 

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


writeBoxCache  [Zeile 534]

  void writeBoxCache( mixed &$box, mixed $str  )