cacheValues (line
2006)
writes the page values to the pear cache
void
cacheValues
([boolean $debug = False])
chpater_MoveToPosition (line
1231)
moves a chapter to a specified positon (SORTORDER)
first updates the chapter and than calls $this->resortChapters(False,True,$debug)
void
chpater_MoveToPosition
(int $chaId, int $position, [boolean $debug = False])
-
int
$chaId
-
int
$position
-
boolean
$debug
echos the content of the page
void
content
([int $chaShowMode = 0], [boolean $debug = False])
-
int
$chaShowMode
-
boolean
$debug
copyChaptersFrom (line
1147)
copies the chpaters from the page with id $sourceId into this page
void
copyChaptersFrom
(int $sourceId, [bool $outdated = False], [bool $debug = False])
-
int
$sourceId: PAG_ID of sourcepage
-
bool
$outdated: if true copy only pages with show till > now
-
bool
$debug
execPrependCmds (line
1751)
executes a prepend script before the page output starts
void
execPrependCmds
([boolean $debug = False])
getChapPageModes (line
1489)
returns a comma seperated list of chapter page modes to show from $GLOBALS['OCSP_CMS']['CHAPTERSTATE']
array
getChapPageModes
()
getChapterObj (line
1090)
CMS_CHAPTER_V2
getChapterObj
(
int $chaId, [
array $chaRow =
NULL], [
boolean $debug =
False])
-
int
$chaId
-
array
$chaRow
-
boolean
$debug
getChapterObjArray (line
1036)
returns an array of chapter objects
NOTE does not use CMS_PAGE_V2::getChapQuery()
array
getChapterObjArray
([int $showMode = 0], [boolean $onlineOnly = False], [boolean $debug = False])
-
int
$showMode: (0=all)
-
boolean
$onlineOnly
-
boolean
$debug
getChapterTag (line
1667)
returns the tag for a single chapter
$string
getChapterTag
(array $chapRow, [boolean $debug = False], bool $chkShowVal)
-
array
$chapRow
-
bool
$chkShowVal
-
boolean
$debug
getCSSHeaderTag (line
1806)
returns the css tag to echo in the header
string
getCSSHeaderTag
([boolean $debug = False], [boolean $asTemplate = False])
-
boolean
$debug
-
boolean
$asTemplate: do not parse the return value with $this->getDBVal();
getEditLink (line
1453)
returns the link to the first page state 8 (edit)
string
getEditLink
([boolean $preview = False], [boolean $debug = False])
-
boolean
$preview
-
boolean
$debug
getFeeter (line
1738)
void
getFeeter
([ $debug = False])
getFeeterTag (line
1719)
returns the page feeter
string
getFeeterTag
([boolean $debug = False])
returns the html code of the page header
string
getHead
([boolean $withStyles = True], [boolean $debug = False], [boolean $withEndTag = True])
-
boolean
$withStyles
-
boolean
$debug
-
boolean
$withEndTag: </ pk-04-10-11>
getHTMLRedirect (line
1965)
returns a HTML Redirector
string
getHTMLRedirect
(string $destUrl, [string $destFrame = "_self"], boolean $debug)
-
string
$destUrl
-
string
$destFrame
-
boolean
$debug
getHTMLTitle (line
1942)
returns the html-title tag
string
getHTMLTitle
()
getJavaHeaderTag (line
1921)
returns the java tag
string
getJavaHeaderTag
([boolean $debug = False])
getMetaHeaderTag (line
1872)
returns the meta tag
string
getMetaHeaderTag
()
getMyParentLink (line
1401)
returns the link to the parent menu
string
getMyParentLink
([boolean $debug = False])
getNewLink (line
1425)
returns the link to the first page state 7 (insert)
string
getNewLink
([boolean $preview = False], [boolean $debug = False])
-
boolean
$preview
-
boolean
$debug
getNextPage (line
1313)
returns the id of the next sibling
int
getNextPage
([boolean $preview = False], [boolean $debug = False])
-
boolean
$preview
-
boolean
$debug
getNextPageUrl (line
1345)
returns the link to the next page by adding setting getParam PAG_ID in the menu query
string
getNextPageUrl
([boolean $preview = False], [boolean $debug = False])
-
boolean
$preview
-
boolean
$debug
getPreviousPage (line
1363)
returns the id of the previous sibling
int
getPreviousPage
([boolean $preview = False], [boolean $debug = False])
-
boolean
$preview
-
boolean
$debug
getSiblingQueryString (line
1264)
returns a query to find a sibling if $preview is True showdate is ignored
string
getSiblingQueryString
([boolean $preview = False], [boolean $idOnly = True], [boolean $debug = False])
-
boolean
$preview
-
boolean
$idOnly
-
boolean
$debug
shows the page in preview mode
void
preview
([int $mode = 0], [bool $debug = False])
resortChapters (line
1188)
resorts the chapters
void
resortChapters
([boolean $orderByState = False], [boolean $orderByShowMode = True], [boolean $debug = False])
-
boolean
$orderByState
-
boolean
$orderByShowMode
-
boolean
$debug
void
view
([ $chaShowMode = 0], [ $debug = False])