Class: base_topic

Quellcode Position: Program_Root/base_topic.php

Class base_topic

Class Overview
Direct Derivates
Abgeleitete Class Description
base_topic_edit Topic basic objekt
papaya_publictopic Show published pages (n-dimensional)

Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_db

base_db::$dbobj_name
base_db::$dbsocket
base_db::$dburi
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
string   $author_group   Author group ID
string   $author_id   author ID
string   $author_name   Full author name
string   $author_user   Author username
boolean   $cacheable   Storable in cache?
integer   $max_versios   Number of topic versons
array   $modules_list   Modules list for content
base_content   $module_obj   Processing content-module
mixed   $module_path   Path to Content-Objekt
mixed   $paramname   Paramter name for formulars
mixed   $params   Paramter out of formulars
boolean   $showedit   show edit
array   $state_list   Status data list
string   $table_languages   Table contains languages
string   $table_modules   Table with Module classes
string   $table_states   Table with status information
string   $table_topics   Table with topics
string   $table_topics_versions   Table with released version of topics
string   $table_user   Table with users
string   $table_usergroups   Table contains groups
string   $table_views   Table with views
array   $topic   Topic - all data as array
integer   $topic_id   Topic-ID - number of entries
string   $view_editfile   XSL-stylesheet - edit formular file
string   $view_file   XSL-stylesheet - filename
integer   $view_id   XSL-stylesheet - index
array   $view_list   Stylesheet list
string   $view_printfile   XSL-stylesheet - printout file
string   $view_title   View - titel

Method Summary
base_topic   base_topic()   Constructor
void   checkPath()   Check path
void   deleteCache()   Delete cache
integer   getBoxesTopicID()   Get boxes topic id
mixed   getBoxParent()   Get box parent
integer   getLevel()   Abstand zum Startknoten ermitteln
string   getMetaInfos()   Metainformationen für den aktuellen Topic
void   getParentID()   Detect parent ID
string   getParentIDFromMaster()   Get parent id from master
boolean   getPrintViewURL()   Add print view parameters to url
mixed   getSurferPermIDs()   Get surfer permission ids
string   getXSLFile()   Which stylecheet will be used?
boolean   hasParent()   Check if entry is $id child
boolean   load()   Load entries out of database
void   loadMetaData()  
void   loadOutput()  
boolean   loadVersion()   Load version
string   parseContent()   Get module output
mixed   topicExists()   Topic exists

Properties
string   $author_group [Zeile 136]

Author group ID


string   $author_id [Zeile 130]

author ID


string   $author_name [Zeile 148]

Full author name


string   $author_user [Zeile 142]

Author username


boolean   $cacheable = true [Zeile 214]

Storable in cache?


integer   $max_versios = 200 [Zeile 208]

Number of topic versons


array   $modules_list [Zeile 160]

Modules list for content


base_content   $module_obj = false [Zeile 154]

Processing content-module


mixed   $module_path [Zeile 64]

Path to Content-Objekt


mixed   $paramname = tt [Zeile 55]

Paramter name for formulars


mixed   $params [Zeile 59]

Paramter out of formulars


boolean   $showedit = true [Zeile 220]

show edit

Neu definiert in folgenden Ableitungen:

array   $state_list [Zeile 172]

Status data list


string   $table_languages [Zeile 112]

Table contains languages

Neu definiert in folgenden Ableitungen:

string   $table_modules [Zeile 82]

Table with Module classes

Neu definiert in folgenden Ableitungen:

string   $table_states [Zeile 94]

Table with status information


string   $table_topics [Zeile 70]

Table with topics

Neu definiert in folgenden Ableitungen:

string   $table_topics_versions [Zeile 76]

Table with released version of topics

Neu definiert in folgenden Ableitungen:

string   $table_user [Zeile 100]

Table with users

Neu definiert in folgenden Ableitungen:

string   $table_usergroups [Zeile 106]

Table contains groups

Neu definiert in folgenden Ableitungen:

string   $table_views [Zeile 88]

Table with views

Neu definiert in folgenden Ableitungen:

array   $topic [Zeile 124]

Topic - all data as array


integer   $topic_id [Zeile 118]

Topic-ID - number of entries


string   $view_editfile [Zeile 202]

XSL-stylesheet - edit formular file


string   $view_file [Zeile 190]

XSL-stylesheet - filename


integer   $view_id [Zeile 178]

XSL-stylesheet - index


array   $view_list [Zeile 166]

Stylesheet list


string   $view_printfile [Zeile 196]

XSL-stylesheet - printout file


string   $view_title [Zeile 184]

View - titel


Methods
Constructor base_topic  [Zeile 225]

  base_topic base_topic( )

Constructor



checkPath  [Zeile 303]

  void checkPath( )

Check path


API Tags:
Access:  public


deleteCache  [Zeile 758]

  void deleteCache( )

Delete cache


API Tags:
Access:  public


getBoxesTopicID  [Zeile 668]

  integer getBoxesTopicID( )

Get boxes topic id


API Tags:
Access:  public


getBoxParent  [Zeile 622]

  mixed getBoxParent( )

Get box parent


API Tags:
Access:  public


getLevel  [Zeile 553]

  integer getLevel( integer $start_id  )

Abstand zum Startknoten ermitteln

Parameters:
integer   $start_id: 


getMetaInfos  [Zeile 461]

  string getMetaInfos( )

Metainformationen für den aktuellen Topic


API Tags:
Return:  XML


getParentID  [Zeile 573]

  void getParentID( [integer $level = 0]  )

Detect parent ID

Parameters:
integer   $level:  level higher


getParentIDFromMaster  [Zeile 597]

  string getParentIDFromMaster( integer $masternode, [integer $level = 0]  )

Get parent id from master

Parameters:
integer   $masternode:  id of given node
integer   $level:  optional, default value 0

API Tags:
Access:  public


getPrintViewURL  [Zeile 512]

  boolean getPrintViewURL( string $varstr  )

Add print view parameters to url

Parameters:
string   $varstr:  print preview parameters and values


getSurferPermIDs  [Zeile 682]

  mixed getSurferPermIDs( )

Get surfer permission ids


API Tags:
Access:  public


getXSLFile  [Zeile 491]

  string getXSLFile( string $default, boolean $printview  )

Which stylecheet will be used?

Parameters:
string   $default:  default XSL
boolean   $printview:  print preview


hasParent  [Zeile 531]

  boolean hasParent( integer $id  )

Check if entry is $id child

Parameters:
integer   $id: 


load  [Zeile 235]

  boolean load( integer $id  )

Load entries out of database

Parameters:
integer   $id:  Topic-ID

API Tags:
Return:  success


loadMetaData  [Zeile 392]

  void loadMetaData( )



loadOutput  [Zeile 294]

  void loadOutput( mixed $topic_id  )


Neu definiert in folgenden Ableitungen:

loadVersion  [Zeile 321]

  boolean loadVersion( mixed $version_id  )

Load version


API Tags:
Access:  public


parseContent  [Zeile 360]

  string parseContent( [boolean $full = true]  )

Get module output

Parameters:
boolean   $full:  page output or short text


topicExists  [Zeile 743]

  mixed topicExists( $id $id  )

Topic exists

Parameters:
$id   $id: 

API Tags:
Access:  public