Constructor.
void
__construct
()
add subMenu item
void
addSubMenuItem
(string $link, [string $title = ''], [string $attribute = false], [string $target = "_self"], [string $picto = false])
-
string
$link: url for the link
-
string
$title: title of the link (onMouseOver if $picto is defined, else, text title)
-
string
$attribute: attribute for the link (default : none, ex : onClick="...")
-
string
$target: target for the link (default : self)
-
string
$picto: image name for the link
add Automne copyright on generated HTML in backend
string
copyright
()
dont make the Focus usefull with screen with Tab (Onglet) wich sometimes hide text fields and cause javascript error on IE
string
dontMakeFocus
()
Get action message
void
getActionMessage
(string 0)
Get Back Link
string
getBackLink
()
Get bookmark
integer
getBookmark
()
Get content
integer
getcontent
()
Get dialog Title
string
getTitle
()
Get Tree root
integer
getTreeRoot
()
Has logo
boolean
hasLogo
()
Sets action message
void
setActionMessage
(string $message)
Set Back Link
void
setBackLink
(string $backLink)
Set bookmark
void
setBookmark
(integer $bookmark)
Set content
void
setContent
(string $content, [boolean $dontParse = false])
-
string
$content
-
boolean
$dontParse: If set to true, the content won't be parsed (useful when showing broken XML)
Set logo
void
setLogo
(boolean $logo)
set the main frame URL
true
setMain
(string $main)
Set menu flag. If false, no menu displayed
void
setMenu
(boolean $menu)
string
setSubMenu
( $submenu)
Set dialog Sub Title
void
setSubTitle
(string $subtitle)
Set text appearing before body tag (usually javascript)
void
setTextBeforeBody
(string $text)
Set dialog Title
void
setTitle
(string $title, [string $picto = false])
-
string
$title
-
string
$picto: (the html code of a picto)
Set Tree root
boolean
setTreeRoot
(integer $treeRoot)
Displays Admin page
void
show
([mixed $mode = false])
-
mixed
$mode: : the display mode to use in :
- boolean false : default mode, used by main frame page
- string 'menu' : used by menu frame page
- string 'modules' : used by modules frame page
- string 'arbo' : used by tree arbo frame page
- string 'frames' : used by general frames page
- string 'out' : used by out of frames page
- string 'frameChecker' : used by frameChecker page
- string 'loading' : used by loading frame page (send content when received without closing page content)
Displays Admin frameset
void
showFrames
()
Return subMenu HTML code
string
_getSubMenu
()
Goes to CMS style sheet to get title desing
void
_getTitleDesign
(string $title, string $class, [ $picto = false])
-
string
$title
-
string
$class
-
$picto
Parse the content looking for some special XML tags that will be interpretad :
- dialog-title : a title rendered with an image
- dialog-pages : a pages navigation row
void
_parseContent
(string $body)
-
string
$body: xml that will be parsed
Shows body of html page
void
_showBody
()
Writes html header
void
_showHead
()
Writes message
void
_showMessage
()
Display for menu
string
_writeMenu
()
Inherited Methods
Inherited From CMS_JSDialog
CMS_JSDialog::addAjaxAPI()
CMS_JSDialog::addCalendar()
CMS_JSDialog::addDHTMLMenu()
CMS_JSDialog::addFrameCheck()
CMS_JSDialog::addJavascriptCheck()
CMS_JSDialog::addOnglet()
CMS_JSDialog::addPopupImage()
CMS_JSDialog::addSearchCheck()
CMS_JSDialog::addStopTab()
CMS_JSDialog::changeColor()
CMS_JSDialog::launchScriptPopup()
CMS_JSDialog::linksBlocker()
CMS_JSDialog::reloadAll()
CMS_JSDialog::reloadModules()
CMS_JSDialog::reloadTree()
CMS_JSDialog::setJavascript()
CMS_JSDialog::switchRows()
Inherited From CMS_grandFather
CMS_grandFather::autoload()
CMS_grandFather::hasError()
CMS_grandFather::log()
CMS_grandFather::PHPErrorHandler()
CMS_grandFather::raiseError()
CMS_grandFather::setDebug()
CMS_grandFather::setLog()
CMS_grandFather::_raiseError()
CMS_grandFather::__call()