Class: base_topic_edit

Quellcode Position: Program_Root/base_topic_edit.php

Class base_topic_edit

Class Overview
Direct Derivates
Abgeleitete Class Description
papaya_topic Load / Save page (n-dimensional)

Inherited Properties And Methods
Inherited Properties Inherited Methods

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_languages
base_topic::$table_modules
base_topic::$table_states
base_topic::$table_topics
base_topic::$table_topics_versions
base_topic::$table_user
base_topic::$table_usergroups
base_topic::$table_views
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::$dburi
base_db::$db_obj
base_db::$msgs

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
boolean   $showedit   show edit

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

Properties
boolean   $showedit = true [Zeile 27]

show edit

Neudefinition von:
base_topic::$showedit
show edit

Methods
addTopicIdDialog  [Zeile 2039]

  void addTopicIdDialog( )

Add topic ID dialog


API Tags:
Access:  public


addVersionPreviewDialog  [Zeile 2097]

  void addVersionPreviewDialog( )



changeBoxUseParent  [Zeile 1436]

  boolean changeBoxUseParent( )

Change Box use parent


API Tags:
Access:  public


changeBoxUseParentForm  [Zeile 1461]

  string changeBoxUseParentForm( integer $goto_id  )

Change box use parent form

Parameters:
integer   $goto_id: 

API Tags:
Access:  public


changePermExecute  [Zeile 1394]

  void changePermExecute( mixed &$user  )

Change permission execute


API Tags:
Access:  public


checkEdit  [Zeile 1124]

  boolean checkEdit( )

Check input and change if needed



checkEditContentModule  [Zeile 1174]

  boolean checkEditContentModule( )

Check edit content module


API Tags:
Access:  public


checkEditMetaInfos  [Zeile 1194]

  boolean checkEditMetaInfos( )

Check edit meta informations


API Tags:
Access:  public


create  [Zeile 415]

  boolean create( [mixed $root_node = false]  )

Create topic



createVersion  [Zeile 506]

  boolean createVersion( )

Create version


API Tags:
Access:  public


delPublicTopic  [Zeile 612]

  boolean delPublicTopic( )

del public topic


API Tags:
Access:  public


delVersion  [Zeile 1791]

  mixed delVersion( )

Delete version


API Tags:
Access:  public


destroy  [Zeile 465]

  boolean destroy( )

Diesen Eintrag samt Untereinträgen löschen



editable  [Zeile 2023]

  boolean editable( object &$user  )

Editable

Parameters:
object   &$user:  auth_user

API Tags:
Access:  public


execute  [Zeile 73]

  void execute( )



getContentEdit  [Zeile 774]

  void getContentEdit( )

Edit section as XML



getContentFrame  [Zeile 765]

  void getContentFrame( string $filename, mixed $caption  )

Deliver i-frame deklaration for output of content edit/preview

Parameters:
string   $filename: 


getData  [Zeile 802]

  string getData( )

General data as overview



getDelForm  [Zeile 1601]

  string getDelForm( )

Get delete formular


API Tags:
Access:  public


getDelPublicForm  [Zeile 2002]

  string getDelPublicForm( )

Get delete public formular


API Tags:
Access:  public


getEdit  [Zeile 830]

  string getEdit( )

Change general data



getEditContentModule  [Zeile 1043]

  string getEditContentModule( )

List of modules and views



getEditPerm  [Zeile 933]

  string getEditPerm( )

Zugriffsrechte ändern



getEditPermElement  [Zeile 958]

  string getEditPermElement( string $caption, integer $perm  )

Get edit permission element

Parameters:
string   $caption: 
integer   $perm: 

API Tags:
Access:  public


getEditUser  [Zeile 994]

  string getEditUser( mixed $euser  )

Get edit user


API Tags:
Access:  public


getInformations  [Zeile 1589]

  getInformations( )

Get informations


API Tags:
Access:  public


getPagesNav  [Zeile 1943]

  getPagesNav( &$toolbar &$toolbar, $step $step, $max $max, $offsetparam $offsetparam, $params $params, mixed $caption  )

Get Pages Navigation

Parameters:
&$toolbar   &$toolbar: 
$step   $step: 
$max   $max: 
$offsetparam   $offsetparam: 
$params   $params: 

API Tags:
Access:  public


getPermValue  [Zeile 1263]

  integer getPermValue( integer $perm, [integer $for = 0]  )

Get permission value

Parameters:
integer   $perm: 
integer   $for:  optional, default value 0

API Tags:
Access:  public


getPublicData  [Zeile 1845]

  string getPublicData( boolean $sel  )

Get public data

Parameters:
boolean   $sel: 

API Tags:
Access:  public


getPublicDate  [Zeile 542]

  mixed getPublicDate( )

Get public date


API Tags:
Access:  public


getPublishForm  [Zeile 1976]

  string getPublishForm( )

Get publish formular


API Tags:
Access:  public


getSurferPermListItems  [Zeile 1503]

  string getSurferPermListItems( )

Get surfer permission list items


API Tags:
Access:  public


getToolbar  [Zeile 359]

  void getToolbar( )

Get toolbar


API Tags:
Access:  public

Neu definiert in folgenden Ableitungen:

getTopicInformations  [Zeile 1552]

  string getTopicInformations( )

Get topic informations


API Tags:
Access:  public


getVersionDelForm  [Zeile 1745]

  string getVersionDelForm( )

Get version delete formular


API Tags:
Access:  public


getVersionInfos  [Zeile 1667]

  string getVersionInfos( )

Get version infos


API Tags:
Access:  public


getVersionRestoreForm  [Zeile 1768]

  string getVersionRestoreForm( )

Get version restore formular


API Tags:
Access:  public


getVersionsList  [Zeile 1622]

  string getVersionsList( )

Get Versions list


API Tags:
Access:  public


getVersionsPreviewList  [Zeile 2050]

  void getVersionsPreviewList( )



hasPerm  [Zeile 1335]

  integer hasPerm( integer $perm, integer $for  )

Has permission

Parameters:
integer   $perm: 
integer   $for: 

API Tags:
Access:  public


hasPermUser  [Zeile 1349]

  mixed hasPermUser( integer $perm, object &$user, [mixed $topic_id = NULL], [mixed $permdata = NULL]  )

Has permission user

Parameters:
integer   $perm: 
object   &$user:  auth_user
mixed   $topic_id:  optional, default value NULL
mixed   $permdata:  optional, default value NULL

API Tags:
Access:  public


initialize  [Zeile 35]

  void initialize( [mixed $id = NULL]  )

Initialize for parameters

Parameters:
mixed   $id:  optional, default value NULL

API Tags:
Access:  public


loadContentList  [Zeile 625]

  mixed loadContentList( )

Content Objekte laden



loadLanguageList  [Zeile 672]

  void loadLanguageList( )



loadStateList  [Zeile 664]

  array loadStateList( )

Load states of a page



loadVersionsList  [Zeile 688]

  void loadVersionsList( )

Load versions list


API Tags:
Access:  public


loadViewList  [Zeile 646]

  mixed loadViewList( )

Load views/stylsheets



publishExecute  [Zeile 1896]

  string publishExecute( )

publish execute


API Tags:
Access:  public


publishTopic  [Zeile 559]

  boolean publishTopic( )

Publish topic


API Tags:
Access:  public


removeOldVersions  [Zeile 713]

  mixed removeOldVersions( )

Remove old versions


API Tags:
Access:  public


restoreVersion  [Zeile 1801]

  boolean restoreVersion( )

Restore version


API Tags:
Access:  public


save  [Zeile 377]

  mixed save( )

Store topic in database without content(ohne Inhalt)



saveContent  [Zeile 742]

  mixed saveContent( )

Content in Datenbank sichern (nur Inhalt)



setMenuBar  [Zeile 368]

  void setMenuBar( )

Set menu bar


API Tags:
Access:  public

Neu definiert in folgenden Ableitungen:

setPermValue  [Zeile 1320]

  mixed setPermValue( integer $perm, integer $value  )

Set permission value

Parameters:
integer   $perm: 
integer   $value: 

API Tags:
Access:  public


setUser  [Zeile 1283]

  boolean setUser( integer $uid, integer $gid  )

Set user

Parameters:
integer   $uid: 
integer   $gid: 

API Tags:
Access:  public


versionExecute  [Zeile 1703]

  string versionExecute( )

Version execute


API Tags:
Access:  public