static void
getCSSManagerURL
()
static void
getInstance
()
static void
getJSManagerURL
()
Quit : global shutdown function for the application Send errors present in stack
static void
quit
()
Redirect page to another one Take care of redirections inside Automne administration
static boolean
redirect
(string $url, [boolean $exit = true], [integer $type = 302])
-
string
$url: : the url to redirect to
-
boolean
$exit: : does the script must exit now ? (default : true)
-
integer
$type: : the http redirection code to use. Accept 302 and 301 (default : 302)
Add content
void
addContent
(string $content)
Add an error state to display later
void
addError
(array $error)
-
array
$error: : the error to add
Add javascript
void
addJavascript
(string $js)
-
string
$js: : Javascript code to add
Add an raw data to display later
void
addRawData
(array $rawData)
-
array
$rawData: : the raw data to add
Get all display content for a given display mode page
void
get
([mixed $mode = ''])
-
mixed
$mode: : the display mode to use
Get content
string
getContent
()
Create a link for a group of CSS files used into client page
void
getCSS
([ $cssarray = array()], [string $media = 'screen'], [boolean $onlyFiles = false], array $files)
-
array
$files: : for static calls : array of files path to send to client (FS relative)
-
string
$media: : the media to add to CSS HTML code returned (default : screen)
-
boolean
$onlyFiles: : return only array of CSS files to add instead of HTML code (default false)
-
$cssarray
Get current display mode
constant
getDisplayMode
()
Get registered errors at current display mode format
string
getErrors
([boolean $clean = false])
-
boolean
$clean: : reset errors stack (default false)
Create a link for a group of JS files used into client page
void
getJavascript
([ $jsarray = array()], [string $media = 'screen'], [boolean $onlyFiles = false], array $files)
-
array
$files: : for static calls : array of files path to send to client (FS relative)
-
string
$media: : useless for JS files (only for compatibility with getCSS method)
-
boolean
$onlyFiles: : return only array of JS files to add instead of HTML code (default false)
-
$jsarray
Get registered raw datas at current display mode format
string
getRawDatas
([boolean $clean = false])
-
boolean
$clean: : reset raw datas stack (default false)
Does the current view has errors registered ?
boolean
hasErrors
()
Does the current view has raw datas registered ?
boolean
hasRawDatas
()
Does the view has been sent to user ?
boolean
isSent
()
Set page action message
void
setActionMessage
(string $message)
Set content
void
setContent
(string $content)
set content tag : overwrite default content tag used
boolean
setContentTag
(string $tag)
-
string
$tag: : the new content tag name to use for current display mode
Set disconnected status
void
setDisconnected
(boolean $status)
Set display mode
void
setDisplayMode
([string $mode = ''])
Set javascript
void
setJavascript
(string $js)
-
string
$js: : Javascript code to set
Set interface secure. Check request is made from a valid Automne Ajax Use http header
string
setSecure
([ $secure = true])
Set page title
void
setTitle
(string $title)
Displays Admin page This method stop all further script execution
void
show
([mixed $mode = ''])
-
mixed
$mode: : the display mode to use
add Automne copyright on generated HTML in backend
string
_copyright
()
Escape cdata end tag in text to avoid error in returned content
string
_espaceCdata
(string $text)
-
string
$text: : the text to escape
Shows body of html page
void
_showBody
([ $returnValue = false])
Writes html header
void
_showHead
([ $returnValue = false])
Inherited Methods
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()