Class: papaya_alias_tree

Quellcode Position: Program_Root/papaya_alias_tree.php

Class papaya_alias_tree

Class Overview
Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_topic_tree

base_topic_tree::$baselink
base_topic_tree::$opened
base_topic_tree::$paramname
base_topic_tree::$params
base_topic_tree::$sessionparamname
base_topic_tree::$subtopic_count
base_topic_tree::$topics

Abgeleitet von base_db

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

Abgeleitet von base_topic_tree

base_topic_tree::base_topic_tree()
Constructor
base_topic_tree::execute()
execute - basic function for handling parameters
base_topic_tree::generatePrevPath()
Generate preview path
base_topic_tree::get()
Get
base_topic_tree::getButtons()
Get buttons
base_topic_tree::getPartTree()
Get part tree
base_topic_tree::getStaticSubTree()
Get stratic sub tree
base_topic_tree::getSubTree()
Get sub tree
base_topic_tree::getXML()
Get XML
base_topic_tree::getXMLElement()
Get XML element
base_topic_tree::getXMLSubTree()
Get XML sub tree
base_topic_tree::hasParent()
Is entry parent of $id ?
base_topic_tree::initialize()
Initialize parameters
base_topic_tree::load()
Load
base_topic_tree::loadSimplyAll()
Load simply all
base_topic_tree::openAll()
Open all
base_topic_tree::openPrevs()
Open previews
base_topic_tree::openSubIds()
Open sub ID's
base_topic_tree::optimizeList()
Connect all childs to the parents build and array of entries ids with no parents.
base_topic_tree::refreshPages()
Refresh pages
base_topic_tree::regeneratePath()
Regenerate path
base_topic_tree::topicEditable()
Is topic editable

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   $aliase  
mixed   $dburi  
mixed   $links  
mixed   $table_modules  
mixed   $table_topics  
mixed   $table_topics_public  
mixed   $table_urls  
mixed   $table_user  
mixed   $table_views  

Method Summary
papaya_alias_tree   papaya_alias_tree()   Constructor
boolean   checkInput()   Check input
string   checkPathSlashes()   Check path slashes
mixed   delete()   Delete
void   execute()   Execute - base function for handlig parameters
string   get()  
string   getAliasEdit()   Get alias edit
mixed   getButtons()   Get buttons
string   getDeleteForm()   Get delete formular
string   getEdit()   Get edit
string   getElements()   Get elemtents
string   getSubElements()   Get sub Elements
void   load()   Load
mixed   save()   Save

Properties
mixed   $aliase [Zeile 29]

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

mixed   $links [Zeile 30]

mixed   $table_modules = PAPAYA_DB_TBL_MODULES [Zeile 26]

mixed   $table_topics = PAPAYA_DB_TBL_TOPICS [Zeile 24]

mixed   $table_topics_public = PAPAYA_DB_TBL_TOPICS_PUBLIC [Zeile 25]

mixed   $table_urls = PAPAYA_DB_TBL_NDIMURLS [Zeile 28]

mixed   $table_user = PAPAYA_DB_TBL_AUTHUSER [Zeile 23]

mixed   $table_views = PAPAYA_DB_TBL_VIEWS [Zeile 27]

Methods
Constructor papaya_alias_tree  [Zeile 38]

  papaya_alias_tree papaya_alias_tree( [string $paramname = 'al']  )

Constructor

Parameters:
string   $paramname:  optional, default value 'al'

API Tags:
Access:  public


checkInput  [Zeile 279]

  boolean checkInput( )

Check input


API Tags:
Access:  public


checkPathSlashes  [Zeile 261]

  string checkPathSlashes( string $path  )

Check path slashes

Parameters:
string   $path: 

API Tags:
Access:  public


delete  [Zeile 318]

  mixed delete( integer $id  )

Delete

Parameters:
integer   $id: 

API Tags:
Access:  public


execute  [Zeile 327]

  void execute( )

Execute - base function for handlig parameters


API Tags:
Access:  public

Neudefinition von:
base_topic_tree::execute()
execute - basic function for handling parameters

get  [Zeile 52]

  string get( object &$user  )

Parameters:
object   &$user:  base_auth

API Tags:
Access:  public

Neudefinition von:
base_topic_tree::get()
Get

getAliasEdit  [Zeile 202]

  string getAliasEdit( )

Get alias edit


API Tags:
Access:  public


getButtons  [Zeile 358]

  mixed getButtons( )

Get buttons


API Tags:
Access:  public

Neudefinition von:
base_topic_tree::getButtons()
Get buttons

getDeleteForm  [Zeile 233]

  string getDeleteForm( )

Get delete formular


API Tags:
Access:  public


getEdit  [Zeile 185]

  string getEdit( )

Get edit


API Tags:
Access:  public


getElements  [Zeile 105]

  string getElements( object &$user  )

Get elemtents

Parameters:
object   &$user:  base_auth

API Tags:
Access:  public


getSubElements  [Zeile 161]

  string getSubElements( integer $id, string $caller, object &$user, integer &$counter  )

Get sub Elements

Parameters:
integer   $id: 
string   $caller: 
object   &$user:  base_auth
integer   &$counter: 

API Tags:
Access:  public


load  [Zeile 77]

  void load( integer $baseid  )

Load

Parameters:
integer   $baseid: 

API Tags:
Access:  public

Neudefinition von:
base_topic_tree::load()
Load

save  [Zeile 306]

  mixed save( )

Save


API Tags:
Access:  public