Phenotype API Documentation

Class PhenotypePageStandard

Description
Description | Descendents | Vars (details) | Methods (details)

Located in /class/PhenotypePage.class.php (line 25)

PhenotypeBase
   |
   --PhenotypePageStandard
Direct descendents
Description | Descendents | Vars (details) | Methods (details)
Class Description
PhenotypePage
Variable Summary
mixed $alttitel
mixed $bez
mixed $blockHMTL
mixed $blocknr
mixed $exec_script
mixed $grp_id
mixed $id
mixed $includeHMTL
mixed $inc_id1
mixed $inc_id2
mixed $lay_id
mixed $lng_id
mixed $loaded
mixed $mySmarty
mixed $nextbuild
mixed $pagemode
mixed $pag_date
mixed $pag_id_top
mixed $pag_url
mixed $pos
mixed $printcache
mixed $printmode
mixed $row
mixed $statistic
mixed $status
mixed $titel
mixed $ver_bez
mixed $ver_id
mixed $ver_nr
mixed $xmlcache
Method Summary
PhenotypePageStandard __construct ([ $id = 0], [ $ver_id = 0], [ $grp_id = 0], [ $uid = 0])
void activateVersion$ver_id)
void buildProps ()
void buildURL ([ $lng_id = null])
void contentCount$con_id,  $dat_id)
void copyPage$pag_id_source,  $pag_id_anchor,  $order)
void display ([ $cache = 1], [ $sendHeader = 1])
void displayCO$con_id,  $dat_id,  $skin, [ $count = 0])
void displayXML ([ $cache = 1])
void doDisplayPostProcessing$html,  $myTC,  $info)
void get$key)
void getAllChildrenArray$pag_id, [ $_pages = array()])
void getBlockHTML$nr)
void getIncludeHTML$nr)
string getPageDescription ()
void getPageUrl ([ $style = ""], [ $dyn = false])
void getTitle ()
string getURL (integer $lng_id)
void hasChilds ([ $status = 0])
void init$id, [ $ver_id = 0], [ $grp_id = 0], [ $uid = 0])
void initByRow$row, [ $ver_id = 0])
void isLoaded ()
void move$pag_id_newtop,  $insertorder)
void newPage$grp_id,  $top_id,  $pos, [ $usr_id = -1])
void newPage_FirstInGroup$grp_id, [ $usr_id = -1])
void newPage_RelatedToExisitingPage$page_id,  $order, [ $usr_id = -1])
void preview ([ $editbuffer = 1])
void printview ([ $cache = 1])
void rawXMLExport ()
int rawXMLImport (string $buffer)
void rawXMLLayoutImport$buffer)
void rawXMLPagegroupImport (string $buffer)
void rebuildURLs ([boolean $recursive = false], [boolean $clearcache = false])
void render$ver_id, [ $buildcache = 0], [ $editbuffer = 0])
void renderCO$con_id,  $dat_id,  $skin, [ $count = 0])
void renderPage4Cache$ver_id)
void renderPreview$ver_id, [ $editbuffer = 1])
void renderPrint4Cache$ver_id)
void renderXML4Cache$ver_id)
void setTitle$s)
void spreadGroup$pag_id,  $grp_id)
void spreadProps$pag_id,  $_props)
void switchLanguage$lng_id)
void uidinit$uid, [ $ver_id = 0], [ $grp_id = 0])
void urlinit$url, [ $ver_id = 0], [ $grp_id = 0])
void versionCheck ()
Variables
mixed $alttitel (line 31)
mixed $bez (line 29)
mixed $blockHMTL = array() (line 52)
mixed $blocknr = 0 (line 51)
mixed $buildingcache (line 55)
mixed $dat_id_sequence_data = 0 (line 70)
  • access: public
mixed $exec_script (line 47)
mixed $grp_id (line 37)
mixed $id = -1 (line 27)
mixed $includeHMTL = array() (line 53)
mixed $includenocache = 0 (line 56)
mixed $inc_id1 (line 45)
mixed $inc_id2 (line 46)
mixed $lay_id (line 32)
mixed $lng_id = 1 (line 38)
mixed $loaded = 0 (line 68)
  • access: public
mixed $multilanguage (line 72)
  • access: public
mixed $mySmarty (line 60)
mixed $nextbuild (line 62)
mixed $pagemode (line 49)
mixed $pag_date (line 43)
mixed $pag_id_mimikry = -1 (line 28)
mixed $pag_id_top (line 39)
mixed $pag_url (line 42)
mixed $pos (line 41)
mixed $printcache (line 63)
mixed $printmode (line 50)
mixed $row (line 33)
mixed $smarturl_schema = 1 (line 74)
  • access: public
mixed $statistic = false (line 66)
  • access: public
mixed $status = 0 (line 40)
mixed $titel (line 30)
mixed $ver_bez (line 36)
mixed $ver_id (line 34)
mixed $ver_nr (line 35)
mixed $xmlcache (line 64)
mixed $_inheritageprops = array() (line 58)

Inherited Variables

Inherited from PhenotypeBase

PhenotypeBase::$charset
PhenotypeBase::$_props
Methods
Constructor __construct (line 77)
  • access: public
PhenotypePageStandard __construct ([ $id = 0], [ $ver_id = 0], [ $grp_id = 0], [ $uid = 0])
  • $id
  • $ver_id
  • $grp_id
  • $uid

Redefinition of:
PhenotypeBase::__construct()
activateVersion (line 1486)
void activateVersion$ver_id)
  • $ver_id
buildProps (line 1616)
void buildProps ()
buildURL (line 2377)
  • access: public
void buildURL ([ $lng_id = null])
  • $lng_id
contentCount (line 1574)
void contentCount$con_id,  $dat_id)
  • $con_id
  • $dat_id
copyPage (line 541)
void copyPage$pag_id_source,  $pag_id_anchor,  $order)
  • $pag_id_source
  • $pag_id_anchor
  • $order
display (line 669)
void display ([ $cache = 1], [ $sendHeader = 1])
  • $cache
  • $sendHeader
displayCO (line 1603)
void displayCO$con_id,  $dat_id,  $skin, [ $count = 0])
  • $con_id
  • $dat_id
  • $skin
  • $count
displayXML (line 996)
void displayXML ([ $cache = 1])
  • $cache
doDisplayPostProcessing (line 826)
void doDisplayPostProcessing$html,  $myTC,  $info)
  • $html
  • $myTC
  • $info
get (line 102)
void get$key)
  • $key

Redefinition of:
PhenotypeBase::get()
getAllChildrenArray (line 424)
void getAllChildrenArray$pag_id, [ $_pages = array()])
  • $pag_id
  • $_pages
getBlockHTML (line 1476)
void getBlockHTML$nr)
  • $nr
getIncludeHTML (line 1481)
void getIncludeHTML$nr)
  • $nr
getPageDescription (line 2553)

Returns the page description field ("page_bez" in DB page)

added 2008/05/19 by Dominique Bös

  • return: page description
  • access: public
string getPageDescription ()
getPageUrl (line 179)
void getPageUrl ([ $style = ""], [ $dyn = false])
  • $style
  • $dyn
getTitle (line 2357)
  • access: public
void getTitle ()
getURL (line 2371)

retrieves URL of a page using the DAO cache

You should not overwerite this method. If you want to change URL behaviour stick to buildURL instead.

  • access: public
string getURL (integer $lng_id)
  • integer $lng_id

Redefinition of:
PhenotypeBase::getURL()
hasChilds (line 411)
void hasChilds ([ $status = 0])
  • $status
init (line 255)
void init$id, [ $ver_id = 0], [ $grp_id = 0], [ $uid = 0])
  • $id
  • $ver_id
  • $grp_id
  • $uid
initByRow (line 310)
void initByRow$row, [ $ver_id = 0])
  • $row
  • $ver_id
isLoaded (line 90)
void isLoaded ()
move (line 1686)
void move$pag_id_newtop,  $insertorder)
  • $pag_id_newtop
  • $insertorder
newPage (line 477)
void newPage$grp_id,  $top_id,  $pos, [ $usr_id = -1])
  • $grp_id
  • $top_id
  • $pos
  • $usr_id
newPage_FirstInGroup (line 437)
void newPage_FirstInGroup$grp_id, [ $usr_id = -1])
  • $grp_id
  • $usr_id
newPage_RelatedToExisitingPage (line 442)
void newPage_RelatedToExisitingPage$page_id,  $order, [ $usr_id = -1])
  • $page_id
  • $order
  • $usr_id
preview (line 641)
void preview ([ $editbuffer = 1])
  • $editbuffer
printview (line 885)
void printview ([ $cache = 1])
  • $cache
rawXMLExport (line 2029)
void rawXMLExport ()
rawXMLImport (line 2156)

imports a page in PT-Raw-XML-Format

only importmethod "overwrite" is supported, no consistency checks !

int rawXMLImport (string $buffer)
  • string $buffer
rawXMLLayoutExport (line 1784)
void rawXMLLayoutExport ()
rawXMLLayoutImport (line 1938)
void rawXMLLayoutImport$buffer)
  • $buffer
rawXMLPagegroupExport (line 1867)

export pagegroups in raw XML-format

string rawXMLPagegroupExport ()
rawXMLPagegroupImport (line 1904)

imports pagegroups

void rawXMLPagegroupImport (string $buffer)
  • string $buffer
rebuildURLs (line 2494)

rebuild smartURL of current page

Notes: When changing the url of a page, the whole cache must get cleard ($myPT->clearcache()); If the page has child pages, the url of all child pages must get rebuilt also! Then you have to set $recursive to true. It's false by default, since a common way to use this method is to rebuild the urls of all pages (and you don't want the recursion happe to often then). After that you have to clear the cache (which equally would happen to often, if it would be true by default)

  • access: public
void rebuildURLs ([boolean $recursive = false], [boolean $clearcache = false])
  • boolean $recursive
  • boolean $clearcache
render (line 1308)
void render$ver_id, [ $buildcache = 0], [ $editbuffer = 0])
  • $ver_id
  • $buildcache
  • $editbuffer
renderCO (line 1610)
void renderCO$con_id,  $dat_id,  $skin, [ $count = 0])
  • $con_id
  • $dat_id
  • $skin
  • $count
renderPage4Cache (line 1140)
void renderPage4Cache$ver_id)
  • $ver_id
renderPreview (line 1133)
void renderPreview$ver_id, [ $editbuffer = 1])
  • $ver_id
  • $editbuffer
renderPrint4Cache (line 1149)
void renderPrint4Cache$ver_id)
  • $ver_id
renderXML4Cache (line 1158)
void renderXML4Cache$ver_id)
  • $ver_id
setTitle (line 2352)
  • access: public
void setTitle$s)
  • $s
spreadGroup (line 1668)
void spreadGroup$pag_id,  $grp_id)
  • $pag_id
  • $grp_id
spreadProps (line 1644)
void spreadProps$pag_id,  $_props)
  • $pag_id
  • $_props
switchLanguage (line 387)
void switchLanguage$lng_id)
  • $lng_id
uidinit (line 243)
void uidinit$uid, [ $ver_id = 0], [ $grp_id = 0])
  • $uid
  • $ver_id
  • $grp_id
urlinit (line 216)
void urlinit$url, [ $ver_id = 0], [ $grp_id = 0])
  • $url
  • $ver_id
  • $grp_id
versionCheck (line 1515)
void versionCheck ()

Inherited Methods

Inherited From PhenotypeBase

PhenotypeBase::__construct()
PhenotypeBase::check()
PhenotypeBase::clear()
PhenotypeBase::codeA()
PhenotypeBase::codeAH()
PhenotypeBase::codeH()
PhenotypeBase::codeHBR()
PhenotypeBase::codeHKT()
PhenotypeBase::codeI()
PhenotypeBase::codeSQL()
PhenotypeBase::codeX()
PhenotypeBase::get()
PhenotypeBase::getA()
PhenotypeBase::getAH()
PhenotypeBase::getD()
PhenotypeBase::getH()
PhenotypeBase::getHBR()
PhenotypeBase::getHTML()
PhenotypeBase::getI()
PhenotypeBase::getQ()
PhenotypeBase::getS()
PhenotypeBase::getSQL()
PhenotypeBase::getU()
PhenotypeBase::getURL()
PhenotypeBase::getValidationError()
PhenotypeBase::getX()
PhenotypeBase::isValidEmail()
PhenotypeBase::isValidInteger()
PhenotypeBase::isValidProperty()
PhenotypeBase::isValidSelection()
PhenotypeBase::isValidString()
PhenotypeBase::printProperties()
PhenotypeBase::set()
PhenotypeBase::setNoValidationError()
PhenotypeBase::setValidationError()
PhenotypeBase::urlencode()

Documentation generated on Fri, 17 Jul 2009 16:43:30 +0200 by phpDocumentor 1.4.2

Bookmark and Share