returns if the current user can open the page
boolean
curUserCanOpen
([boolean $debug = False])
executes a prepend script before the page output starts
void
execPrependCmds
([boolean $debug = False])
returns an array of chapter template names with chapter template ID as index returns false if the page does not support chapter input
array
getChaTemplates
([bool $debug = False], [boolean $getAll = False])
-
bool
$debug
-
boolean
$getAll
returns the content
string
getContent
([int $chaShowMode = 0], [boolean $debug = False])
-
int
$chaShowMode
-
boolean
$debug
has the method getContent been called?
boolean
getContentCalled
()
returns a field => value array as stored in the db
ensure PAG_OBJECTVARS is serialized with the current values
array
getDBRow
([bool $withoutNull = True], [bool $debug = False])
-
bool
$withoutNull: null values are not added to the array
-
bool
$debug: show debug info?
returns the form for the page
CMS_PAGE_FORM
&getForm
([
int $mode =
FRM_MODE_READONLY], [
string $frmName =
''], [
string $frmClass =
'CMS_PAGE_FORM'], [
boolean $debug =
False])
-
int
$mode: (form mode)
-
string
$frmName
-
string
$frmClass
-
boolean
$debug
returns the page id
int
getId
()
returns the cms menu id
int
getMenId
()
CMS_HTML_PAGE
getMyHTMLPage
()
returns the menu node of the object
returns the Project Object
CMS_PROJECT
&getMyProject
([
boolean $setAsCurrent =
False], [
boolean $debug =
False], [
boolean $forceObj =
True])
-
boolean
$setAsCurrent: if true and method $this->setAsCurrent() exists it will be called
-
boolean
$debug
-
boolean
$forceObj: (if true a new object will be instanciated if none is set)
returns the preview uri
string
getPreviewUri
()
returns the cms project id
int
getProjId
([boolean $debug = False])
returns the page state id
int
getStateId
()
returns the template object
returns the template id
if col PTMP_ID is 0 the menu is asked for a template id
int
getTemplateId
([boolean $debug = False])
returns the page title
string
getTitle
([ $debug = False])
returns if the page is the current page
boolean
isCurrent
([boolean $debug = False])
returns if the page is expired (PAG_SHOWTILL < NOW())
boolean
isExpired
([boolean $debug = False])
returns if the current page is online
boolean
isOnline
([boolean $debug = False])
sets contentWasCalled
getContent has been called or is to omit
void
setContentCalled
([boolean $called = 'True'])
sets a database row to the object fields
unserializes PAG_OBJECTVARS
boolean
setDBRow
(array $row, [boolean $asPopulated = True], [boolean $debug = False])
-
array
$row: the row form a select * from DBMS_TABLEOBJ::myTable
-
boolean
$asPopulated: set populateTS as if the object has been populated
-
boolean
$debug
sets all fields of an array to the objcet
boolean
setDBVal
(array $valArr, [boolean $debug = False])
-
array
$valArr
-
boolean
$debug
sets the page id
void
setId
(int $aId)
sets the menu id
void
setMenId
(int $aId)
void
setMyHTMLPage
( &$aHTMLPage, CMS_HTML_PAGE $aHTMLPage)
-
CMS_HTML_PAGE
$aHTMLPage
-
&$aHTMLPage
sets the menu node object
void
setMyMenuNode
(
&$aNode, [
boolean $debug =
False],
CMS_MENU_NODE $aNode)
sets the project object of the page
also sets the project id form $aProjObj
void
setMyProject
(
CMS_PROJECT &$aProjObj, [
boolean $debug =
False])
sets the cms project id
void
setProjId
($aId $aId)
-
$aId
$aId: int Project ID