Class CMS_PAGE

Description

class to handel PAGES

major change to old version:

  • the page don't hold a DB object only the GLOBAL INDEX is passed
  • parent class is CMS_TABLEOBJ

  • author: Peter Krebs <p.krebs@lvus.at>
  • version: pk-03-10-24 parent changed DBMS_TBLOBJ -> CMS_TBLOBJ
  • copyright: (c) 2002-2003 by Peter Krebs and Landesverlag Unternehmensservice
  • deprecated: deprecated since version pk-03-12-x use CMS_PAGE_V2
  • project: Open CSP-Management
  • license: GNU Public License

Located in /cms/page/page.phpclass (line 44)

OCSP_OBJ
   |
   --DBMS_TABLEOBJ
      |
      --CMS_TABLEOBJ
         |
         --CMS_PAGE
Direct descendents
Class Description
 class CMS_FORM_PAGE class CMS_FORM_PAGE
 class CMS_PAGE_V2 class to handel PAGES
Variable Summary
 mixed $dbRow
 mixed $formObj
 mixed $langId
 mixed $myDB
 mixed $myForm
 mixed $myTable
 mixed $myTmpl
 mixed $pageId
 mixed $projId
Method Summary
 CMS_PAGE CMS_PAGE ([ $DB = NULL], [ $pageId = 0], [ $projId = 0], [ $langId = 0], [ $menId = 0], [ $debug = FALSE])
 void checkDb ( &$DB, [ $debug = FALSE])
 void getChapter ([ $mode = 0], [ $debug = FALSE])
 void getChaTemplates ([ $debug = FALSE])
 void getClassName ()
 string getCSSHeaderTag ([ $debug = FALSE])
 void getDBField ( $fldName)
 void getDBRow ()
 string getFeeter ([bool $debug = FALSE])
 string getFeeterTag ([bool $debug = FALSE])
 void &getForm ([ $debug = FALSE])
 void getFormDateFromPost ([ $arrName = 'DBVAL'], [ $debug = FALSE])
 void getHead ([ $withMenu = TRUE], [ $withStyles = FALSE], [ $debug = FALSE])
 void getHeadlineTag ([ $debug = FALSE])
 void getId ()
 string getJavaHeaderTag ()
 void getMenuId ()
 void getNextPage ([ $debug = FALSE])
 void getObjVars ()
 void getPreviousPage ([ $debug = FALSE])
 void getStylesLink ([ $media = ""])
 void loadFromDB ( &$DB, [ $debug = FALSE])
 void loadTemplate ([ $debug = FALSE])
 void preview ([ $debug = FALSE])
 void setArray ( $arr, [ $debug = FALSE])
 void setDB ( &$DB)
 void setDBField ( $aField,  $aValue)
 void updateToDB ( $DB, [ $debug = FALSE])
 void view ([int $mode = 1], [bool $debug = FALSE])
 void writeADMForm ([ $mode = FRM_MODE_NEW], [ $aktion = ""])
Variables
mixed $dbRow = array() (line 48)
mixed $formObj = null (line 47)
mixed $langId (line 51)
mixed $myDB = NULL (line 52)
mixed $myForm = NULL (line 54)
mixed $myTable = "T_CMS_PAGE" (line 45)

Redefinition of:
DBMS_TABLEOBJ::$myTable
NOT FINAL !!!!!
mixed $myTmpl = NULL (line 53)

Redefined in descendants as:
mixed $pageId (line 49)
mixed $projId (line 50)

Inherited Variables

Inherited from CMS_TABLEOBJ

CMS_TABLEOBJ::$cms_conf_data
CMS_TABLEOBJ::$cms_menu_types
CMS_TABLEOBJ::$cms_pageTmpl_types
CMS_TABLEOBJ::$cms_page_types
CMS_TABLEOBJ::$currentMenu
CMS_TABLEOBJ::$currentPage
CMS_TABLEOBJ::$currentProj
CMS_TABLEOBJ::$myCmsCache
CMS_TABLEOBJ::$myMenuIdCol
CMS_TABLEOBJ::$myMenuIdGetName
CMS_TABLEOBJ::$myMenuNode
CMS_TABLEOBJ::$myPageIdCol
CMS_TABLEOBJ::$myPageIdGetName
CMS_TABLEOBJ::$myPageObj
CMS_TABLEOBJ::$myProjIdCol
CMS_TABLEOBJ::$myProjIdGetName
CMS_TABLEOBJ::$myProjObj

Inherited from DBMS_TABLEOBJ

DBMS_TABLEOBJ::$autoIncFld
DBMS_TABLEOBJ::$dbTableDefinitions
DBMS_TABLEOBJ::$frmPostSubOjects
DBMS_TABLEOBJ::$hasObjVals
DBMS_TABLEOBJ::$initTS
DBMS_TABLEOBJ::$myCacheTS
DBMS_TABLEOBJ::$myFields
DBMS_TABLEOBJ::$myKeys
DBMS_TABLEOBJ::$myLinkedTableRows
DBMS_TABLEOBJ::$myMode
DBMS_TABLEOBJ::$myObjVals
DBMS_TABLEOBJ::$myObjValsPopulateTS
DBMS_TABLEOBJ::$objError
DBMS_TABLEOBJ::$objErrorMsg
DBMS_TABLEOBJ::$populateTS
DBMS_TABLEOBJ::$staticClassVars
DBMS_TABLEOBJ::$valChangeTS

Inherited from OCSP_OBJ

OCSP_OBJ::$global_currentUser
OCSP_OBJ::$global_defaultDBObj_read
OCSP_OBJ::$global_defaultDBObj_write
OCSP_OBJ::$myDBObj
Methods
Constructor CMS_PAGE (line 56)
CMS_PAGE CMS_PAGE ([ $DB = NULL], [ $pageId = 0], [ $projId = 0], [ $langId = 0], [ $menId = 0], [ $debug = FALSE])
  • $DB
  • $pageId
  • $projId
  • $langId
  • $menId
  • $debug
checkDb (line 102)
void checkDb ( &$DB, [ $debug = FALSE])
  • &$DB
  • $debug
getChapter (line 402)
void getChapter ([ $mode = 0], [ $debug = FALSE])
  • $mode
  • $debug
getChaTemplates (line 212)
void getChaTemplates ([ $debug = FALSE])
  • $debug

Redefined in descendants as:
  • CMS_SUMMARYPAGE::getChaTemplates() : returns an array of chapter template names with chapter template ID as index returns false if the page does not support chapter input
getClassName (line 74)
void getClassName ()
getCSSHeaderTag (line 505)

returns the css tag

  • since: pk-04-08-02
string getCSSHeaderTag ([ $debug = FALSE])
  • $debug
getDBField (line 86)
void getDBField ( $fldName)
  • $fldName

Redefinition of:
DBMS_TABLEOBJ::getDBField()
returns the value of a db column
getDBRow (line 94)
void getDBRow ()

Redefinition of:
DBMS_TABLEOBJ::getDBRow()
returns a field => value array
getFeeter (line 464)

returns the feeter tag

  • deprecated: RELEASE-2 calls CMS_PAGE::getFeeterTag()
string getFeeter ([bool $debug = FALSE])
  • bool $debug
getFeeterTag (line 439)

returns the feeter tag

string getFeeterTag ([bool $debug = FALSE])
  • bool $debug
getForm (line 163)
void &getForm ([ $debug = FALSE])
  • $debug

Redefinition of:
DBMS_TABLEOBJ::getForm()
replaces dbGetForm and returns a OCSP_FORM
getFormDateFromPost (line 191)
void getFormDateFromPost ([ $arrName = 'DBVAL'], [ $debug = FALSE])
  • $arrName
  • $debug
getHead (line 330)
void getHead ([ $withMenu = TRUE], [ $withStyles = FALSE], [ $debug = FALSE])
  • $withMenu
  • $withStyles
  • $debug

Redefined in descendants as:
getHeadlineTag (line 383)
void getHeadlineTag ([ $debug = FALSE])
  • $debug
getId (line 82)
void getId ()

Redefined in descendants as:
getJavaHeaderTag (line 518)

returns the meta tag

  • since: pk-04-08-02
string getJavaHeaderTag ()

Redefined in descendants as:
getMenuId (line 228)
void getMenuId ()
getNextPage (line 233)
void getNextPage ([ $debug = FALSE])
  • $debug
getObjVars (line 78)
void getObjVars ()
getPreviousPage (line 250)
void getPreviousPage ([ $debug = FALSE])
  • $debug
getStylesLink (line 370)
void getStylesLink ([ $media = ""])
  • $media
loadFromDB (line 129)
void loadFromDB ( &$DB, [ $debug = FALSE])
  • &$DB
  • $debug
loadTemplate (line 197)
void loadTemplate ([ $debug = FALSE])
  • $debug

Redefined in descendants as:
preview (line 270)
void preview ([ $debug = FALSE])
  • $debug

Redefined in descendants as:
setArray (line 142)
void setArray ( $arr, [ $debug = FALSE])
  • $arr
  • $debug
setDB (line 98)
void setDB ( &$DB)
  • &$DB
setDBField (line 90)
void setDBField ( $aField,  $aValue)
  • $aField
  • $aValue

Redefinition of:
DBMS_TABLEOBJ::setDBField()
sets the value of a object var (DB COLUMN)
updateToDB (line 153)
void updateToDB ( $DB, [ $debug = FALSE])
  • $DB
  • $debug
view (line 478)

echos an entire page

void view ([int $mode = 1], [bool $debug = FALSE])
  • int $mode: view mode
  • bool $debug
writeADMForm (line 170)
void writeADMForm ([ $mode = FRM_MODE_NEW], [ $aktion = ""])
  • $mode
  • $aktion

Inherited Methods

Inherited From CMS_TABLEOBJ

 CMS_TABLEOBJ::checkMenuNodeProject()
 CMS_TABLEOBJ::cmsCacheIsUsable()
 CMS_TABLEOBJ::factoryCurrentElements()
 CMS_TABLEOBJ::getCMSConf()
 CMS_TABLEOBJ::getCmsConfArr()
 CMS_TABLEOBJ::getLangId()
 CMS_TABLEOBJ::getMenId()
 CMS_TABLEOBJ::getMenLinkUrl()
 CMS_TABLEOBJ::getMenuIdColName()
 CMS_TABLEOBJ::getMenuIdGetName()
 CMS_TABLEOBJ::getMyMenuNode()
 CMS_TABLEOBJ::getMyPageObj()
 CMS_TABLEOBJ::getMyProject()
 CMS_TABLEOBJ::getNextMenuId()
 CMS_TABLEOBJ::getPageId()
 CMS_TABLEOBJ::getPageIdColName()
 CMS_TABLEOBJ::getPageIdGetName()
 CMS_TABLEOBJ::getPageSortColName()
 CMS_TABLEOBJ::getPageTable()
 CMS_TABLEOBJ::getPrevMenuId()
 CMS_TABLEOBJ::getProjId()
 CMS_TABLEOBJ::getProjIdColName()
 CMS_TABLEOBJ::getProjIdGetName()
 CMS_TABLEOBJ::get_currentMenu()
 CMS_TABLEOBJ::get_currentPage()
 CMS_TABLEOBJ::get_currentProj()
 CMS_TABLEOBJ::menuType_clearCache()
 CMS_TABLEOBJ::menuType_getClassSrc()
 CMS_TABLEOBJ::menuType_populate()
 CMS_TABLEOBJ::menuType_requireClass()
 CMS_TABLEOBJ::pageTmplType_getClassSrc()
 CMS_TABLEOBJ::pageTmplType_populate()
 CMS_TABLEOBJ::pageTmplType_requireClass()
 CMS_TABLEOBJ::pageType_getClassSrc()
 CMS_TABLEOBJ::pageType_getList()
 CMS_TABLEOBJ::pageType_getTmplClassName()
 CMS_TABLEOBJ::pageType_populate()
 CMS_TABLEOBJ::pageType_requireClass()
 CMS_TABLEOBJ::setCmsCacheArr()
 CMS_TABLEOBJ::setDBVal()
 CMS_TABLEOBJ::setLangId()
 CMS_TABLEOBJ::setMenId()
 CMS_TABLEOBJ::setMyMenuNode()
 CMS_TABLEOBJ::setMyPageObj()
 CMS_TABLEOBJ::setMyProject()
 CMS_TABLEOBJ::setPageId()
 CMS_TABLEOBJ::setProjId()
 CMS_TABLEOBJ::set_currentMenu()
 CMS_TABLEOBJ::set_currentPage()
 CMS_TABLEOBJ::set_currentProj()

Inherited From DBMS_TABLEOBJ

 DBMS_TABLEOBJ::DBMS_TABLEOBJ()
 DBMS_TABLEOBJ::cacheRestore()
 DBMS_TABLEOBJ::cacheWriteTo()
 DBMS_TABLEOBJ::clearErrors()
 DBMS_TABLEOBJ::dbDelete()
 DBMS_TABLEOBJ::dbGetDataArray()
 DBMS_TABLEOBJ::dbGetForm()
 DBMS_TABLEOBJ::dbInsert()
 DBMS_TABLEOBJ::dbPopulate()
 DBMS_TABLEOBJ::dbReplace()
 DBMS_TABLEOBJ::dbSave()
 DBMS_TABLEOBJ::db_SetKey()
 DBMS_TABLEOBJ::db_SetKeyArray()
 DBMS_TABLEOBJ::getClassInclude()
 DBMS_TABLEOBJ::getDbDesc()
 DBMS_TABLEOBJ::getDBField()
 DBMS_TABLEOBJ::getDBRow()
 DBMS_TABLEOBJ::getDBVal()
 DBMS_TABLEOBJ::getDefaults()
 DBMS_TABLEOBJ::getErrorMsg()
 DBMS_TABLEOBJ::getFieldDBDefault()
 DBMS_TABLEOBJ::getForm()
 DBMS_TABLEOBJ::getFormClassName()
 DBMS_TABLEOBJ::getFormName()
 DBMS_TABLEOBJ::getJSON()
 DBMS_TABLEOBJ::getKeyArr()
 DBMS_TABLEOBJ::getMyTable()
 DBMS_TABLEOBJ::getObjValArray()
 DBMS_TABLEOBJ::getObjValValue()
 DBMS_TABLEOBJ::getPopulateTs()
 DBMS_TABLEOBJ::getWhere()
 DBMS_TABLEOBJ::hasChanged()
 DBMS_TABLEOBJ::hasColumn()
 DBMS_TABLEOBJ::hasErrors()
 DBMS_TABLEOBJ::hasObjVals()
 DBMS_TABLEOBJ::init()
 DBMS_TABLEOBJ::isInit()
 DBMS_TABLEOBJ::isPopulated()
 DBMS_TABLEOBJ::keysAreSet()
 DBMS_TABLEOBJ::populateFromKeys()
 DBMS_TABLEOBJ::populateFromValues()
 DBMS_TABLEOBJ::populateObjVals()
 DBMS_TABLEOBJ::p_cacheIsExpired()
 DBMS_TABLEOBJ::saveLinkedRow()
 DBMS_TABLEOBJ::saveLinkedTableRows()
 DBMS_TABLEOBJ::saveObjVals()
 DBMS_TABLEOBJ::setChanged()
 DBMS_TABLEOBJ::setDBField()
 DBMS_TABLEOBJ::setDBFieldIfDiff()
 DBMS_TABLEOBJ::setDBFieldIfEmpty()
 DBMS_TABLEOBJ::setDBRow()
 DBMS_TABLEOBJ::setDBVal()
 DBMS_TABLEOBJ::setDefaults()
 DBMS_TABLEOBJ::setError()
 DBMS_TABLEOBJ::setLinkedTableRow()
 DBMS_TABLEOBJ::setMyTable()
 DBMS_TABLEOBJ::setObjValArray()
 DBMS_TABLEOBJ::setObjValValue()
 DBMS_TABLEOBJ::setObjVarIfEmpty()
 DBMS_TABLEOBJ::setUnChanged()
 DBMS_TABLEOBJ::userIsAllowed()
 DBMS_TABLEOBJ::writeDebugInfo()
 DBMS_TABLEOBJ::xmladdDOMElement()
 DBMS_TABLEOBJ::xmlExport()
 DBMS_TABLEOBJ::_getCacheFileName()
 DBMS_TABLEOBJ::_getDBFields()

Inherited From OCSP_OBJ

 OCSP_OBJ::castObj()
 OCSP_OBJ::cloneMe()
 OCSP_OBJ::currentUser()
 OCSP_OBJ::dbConnect()
 OCSP_OBJ::defaultDBObj()
 OCSP_OBJ::defaultReadDBObj()
 OCSP_OBJ::defaultWriteDBObj()
 OCSP_OBJ::getConf()
 OCSP_OBJ::getDBObj()
 OCSP_OBJ::get_myClassConstant()
 OCSP_OBJ::get_myObject_vars()
 OCSP_OBJ::get_mySourceFile()
 OCSP_OBJ::isConnected()
 OCSP_OBJ::isMultiByteStr()
 OCSP_OBJ::isUTF8()
 OCSP_OBJ::setConf()
 OCSP_OBJ::setDBObj()
 OCSP_OBJ::set_myObject_vars()
 OCSP_OBJ::set_myVarsFrom()
Class Constants

Inherited Constants

Inherited from DBMS_TABLEOBJ

DBMS_TABLEOBJ::CLASS_SRC_FILE

Inherited from OCSP_OBJ

OCSP_OBJ::CLASS_SRC_FILE

Documentation generated on Thu, 08 Jan 2009 17:47:40 +0100 by phpDocumentor 1.4.0a2