Action controller, initialises the html object

package Gems
subpackage Default
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.0
inherited_from \Gems_Controller_Action

 Methods

Adds one or more messages to the session based message store.

addMessage($message, $status = null) : \MUtil_Controller_Action
Inherited

Parameters

$message

$status

Returns

\MUtil_Controller_Action

cachecleanAction()

cachecleanAction() 

Show the project specific change log

changelogAction() 

Show the GemsTracker change log

changelogGemsAction() 

errorsAction()

errorsAction() 

Returns a session based message store for adding messages to.

getMessenger() : \Zend_Controller_Action_Helper_FlashMessenger
Inherited

Returns

\Zend_Controller_Action_Helper_FlashMessenger

indexAction()

indexAction() 

Intializes the html component.

initHtml(boolean $reset = false) : void
Inherited

Parameters

$reset

boolean

Throws away any existing html output when true

Action that switches the maintenance lock on or off.

maintenanceAction() 

phpAction()

phpAction() 

phpErrorsAction()

phpErrorsAction() 

projectAction()

projectAction() 

sessionAction()

sessionAction() 

Set the session based message store.

setMessenger(\Zend_Controller_Action_Helper_FlashMessenger $messenger) : \MUtil_Controller_Action
Inherited

Parameters

$messenger

\Zend_Controller_Action_Helper_FlashMessenger

Returns

\MUtil_Controller_Action

Returns the data to show in the index action

_getData() : array

Allows to easily add or modifiy the information at project level

Returns

array

_showTable()

_showTable($caption, $data, $nested = false

Parameters

$caption

$data

$nested

Helper function to show content of a text file

_showText(string $caption, string $logFile, string $emptyLabel = null

Parameters

$caption

string

$logFile

string

$emptyLabel

string

Tell all about it

getDirInfo(string $directory) : string

Parameters

$directory

string

Returns

string

Stub for overruling default snippet loader initiation.

loadSnippetLoader() 
Inherited

 Properties

 

$accesslog

$accesslog : \Gems_AccessLog

Default

 

$db

$db : \Zend_Db_Adapter_Abstract

Default

 

$escort

$escort : \GemsEscort

Default

 

$loader

$loader : \Gems_Loader

Default

 

$menu

$menu : \Gems_Menu

Default

 

$messenger

$messenger : \Zend_Controller_Action_Helper_FlashMessenger

Default

 

$project

$project : \Gems_Project_ProjectSettings

Default

 

Set to true in child class for automatic creation of $this->html.

$useHtmlView : boolean

Default

true

To initiate the use of $this->html from the code call $this->initHtml()

Overrules $useRawOutput.

see
 

$util

$util : \Gems_Util

Default