Class: papaya_topic

Quellcode Position: Program_Root/papaya_topic.php

Class papaya_topic

Class Overview
Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_topic_edit

base_topic_edit::$showedit

Abgeleitet von base_topic

base_topic::$author_group
base_topic::$author_id
base_topic::$author_name
base_topic::$author_user
base_topic::$cacheable
base_topic::$max_versios
base_topic::$modules_list
base_topic::$module_obj
base_topic::$module_path
base_topic::$paramname
base_topic::$params
base_topic::$state_list
base_topic::$table_states
base_topic::$topic
base_topic::$topic_id
base_topic::$view_editfile
base_topic::$view_file
base_topic::$view_id
base_topic::$view_list
base_topic::$view_printfile
base_topic::$view_title

Abgeleitet von base_db

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

Abgeleitet von base_topic_edit

base_topic_edit::addTopicIdDialog()
Add topic ID dialog
base_topic_edit::addVersionPreviewDialog()
base_topic_edit::changeBoxUseParent()
Change Box use parent
base_topic_edit::changeBoxUseParentForm()
Change box use parent form
base_topic_edit::changePermExecute()
Change permission execute
base_topic_edit::checkEdit()
Check input and change if needed
base_topic_edit::checkEditContentModule()
Check edit content module
base_topic_edit::checkEditMetaInfos()
Check edit meta informations
base_topic_edit::create()
Create topic
base_topic_edit::createVersion()
Create version
base_topic_edit::delPublicTopic()
del public topic
base_topic_edit::delVersion()
Delete version
base_topic_edit::destroy()
Diesen Eintrag samt Untereinträgen löschen
base_topic_edit::editable()
Editable
base_topic_edit::execute()
base_topic_edit::getContentEdit()
Edit section as XML
base_topic_edit::getContentFrame()
Deliver i-frame deklaration for output of content edit/preview
base_topic_edit::getData()
General data as overview
base_topic_edit::getDelForm()
Get delete formular
base_topic_edit::getDelPublicForm()
Get delete public formular
base_topic_edit::getEdit()
Change general data
base_topic_edit::getEditContentModule()
List of modules and views
base_topic_edit::getEditPerm()
Zugriffsrechte ändern
base_topic_edit::getEditPermElement()
Get edit permission element
base_topic_edit::getEditUser()
Get edit user
base_topic_edit::getInformations()
Get informations
base_topic_edit::getPagesNav()
Get Pages Navigation
base_topic_edit::getPermValue()
Get permission value
base_topic_edit::getPublicData()
Get public data
base_topic_edit::getPublicDate()
Get public date
base_topic_edit::getPublishForm()
Get publish formular
base_topic_edit::getSurferPermListItems()
Get surfer permission list items
base_topic_edit::getToolbar()
Get toolbar
base_topic_edit::getTopicInformations()
Get topic informations
base_topic_edit::getVersionDelForm()
Get version delete formular
base_topic_edit::getVersionInfos()
Get version infos
base_topic_edit::getVersionRestoreForm()
Get version restore formular
base_topic_edit::getVersionsList()
Get Versions list
base_topic_edit::getVersionsPreviewList()
base_topic_edit::hasPerm()
Has permission
base_topic_edit::hasPermUser()
Has permission user
base_topic_edit::initialize()
Initialize for parameters
base_topic_edit::loadContentList()
Content Objekte laden
base_topic_edit::loadLanguageList()
base_topic_edit::loadStateList()
Load states of a page
base_topic_edit::loadVersionsList()
Load versions list
base_topic_edit::loadViewList()
Load views/stylsheets
base_topic_edit::publishExecute()
publish execute
base_topic_edit::publishTopic()
Publish topic
base_topic_edit::removeOldVersions()
Remove old versions
base_topic_edit::restoreVersion()
Restore version
base_topic_edit::save()
Store topic in database without content(ohne Inhalt)
base_topic_edit::saveContent()
Content in Datenbank sichern (nur Inhalt)
base_topic_edit::setMenuBar()
Set menu bar
base_topic_edit::setPermValue()
Set permission value
base_topic_edit::setUser()
Set user
base_topic_edit::versionExecute()
Version execute

Abgeleitet von base_topic

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

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   $max_versions  
mixed   $table_boxes_link  
mixed   $table_languages  
mixed   $table_modules  
mixed   $table_surferperm  
mixed   $table_topics  
mixed   $table_topics_public  
mixed   $table_topics_versions  
mixed   $table_user  
mixed   $table_usergroups  
mixed   $table_views  

Method Summary
void   getToolbar()   Get toolbar
void   loadOutput()  
void   setMenuBar()   Set menu bar

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

mixed   $max_versions = PAPAYA_VERSIONS_MAXCOUNT [Zeile 35]

mixed   $table_boxes_link = PAPAYA_DB_TBL_BOXLINKS [Zeile 33]

mixed   $table_languages = PAPAYA_DB_TBL_LNG [Zeile 34]
Neudefinition von:
base_topic::$table_languages
Table contains languages

mixed   $table_modules = PAPAYA_DB_TBL_MODULES [Zeile 30]
Neudefinition von:
base_topic::$table_modules
Table with Module classes

mixed   $table_surferperm = PAPAYA_DB_TBL_SURFERPERM [Zeile 32]

mixed   $table_topics = PAPAYA_DB_TBL_TOPICS [Zeile 27]
Neudefinition von:
base_topic::$table_topics
Table with topics

mixed   $table_topics_public = PAPAYA_DB_TBL_TOPICS_PUBLIC [Zeile 29]

mixed   $table_topics_versions = PAPAYA_DB_TBL_TOPICS_VERSIONS [Zeile 28]
Neudefinition von:
base_topic::$table_topics_versions
Table with released version of topics

mixed   $table_user = PAPAYA_DB_TBL_AUTHUSER [Zeile 25]
Neudefinition von:
base_topic::$table_user
Table with users

mixed   $table_usergroups = PAPAYA_DB_TBL_AUTHGROUPS [Zeile 26]
Neudefinition von:
base_topic::$table_usergroups
Table contains groups

mixed   $table_views = PAPAYA_DB_TBL_VIEWS [Zeile 31]
Neudefinition von:
base_topic::$table_views
Table with views

Methods
getToolbar  [Zeile 42]

  void getToolbar( )

Get toolbar


API Tags:
Access:  public

Neudefinition von:
base_topic_edit::getToolbar()
Get toolbar

loadOutput  [Zeile 116]

  void loadOutput( mixed $topic_id, [mixed $version_time = 0]  )


Neudefinition von:
base_topic::loadOutput()

setMenuBar  [Zeile 95]

  void setMenuBar( [boolean $editable = true]  )

Set menu bar

Parameters:
boolean   $editable:  optional, default value true

API Tags:
Access:  public

Neudefinition von:
base_topic_edit::setMenuBar()
Set menu bar