Class: base_topic_navigation

Quellcode Position: Program_Root/base_topic_navigation.php

Class base_topic_navigation

Class Overview

Basic object for topic navigation

Implementiert in Program_Root/base_topic_navigation.php [Zeile 18]

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

Properties

Methods

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   $table_topics  
mixed   $table_topics_public  

Method Summary
base_topic_navigation   base_topic_navigation()   base topic navigation
boolean   checkFilter()   Check filter
string   getItem()   Get item
string   getSitemap()   Get Sitemap
string   getXML()   Get XML
void   initializeSurfer()   Initialize surfer
boolean   load()   Load navigation

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

mixed   $table_topics = PAPAYA_DB_TBL_TOPICS [Zeile 20]

mixed   $table_topics_public = PAPAYA_DB_TBL_TOPICS_PUBLIC [Zeile 21]

Methods
Constructor base_topic_navigation  [Zeile 31]

  base_topic_navigation base_topic_navigation( object &$topic, [boolean $fields = FALSE]  )

base topic navigation

Parameters:
object   &$topic:  base_topic
boolean   $fields:  optional, default value FALSE

API Tags:
Access:  public


checkFilter  [Zeile 111]

  boolean checkFilter( integer $id, array &$row  )

Check filter

Parameters:
integer   $id: 
array   &$row: 

API Tags:
Access:  public


getItem  [Zeile 176]

  string getItem( integer $id, $pos $pos  )

Get item

Parameters:
integer   $id: 
$pos   $pos: 

API Tags:
Access:  public


getSitemap  [Zeile 147]

  string getSitemap( )

Get Sitemap


API Tags:
Access:  public


getXML  [Zeile 130]

  string getXML( )

Get XML


API Tags:
Access:  public


initializeSurfer  [Zeile 44]

  void initializeSurfer( )

Initialize surfer


API Tags:
Access:  public


load  [Zeile 65]

  boolean load( [mixed $desc = false], integer $prev_topic_id  )

Load navigation

Parameters:
integer   $prev_topic_id:  active topic-ID