Extends the standard \MUtil_Controller_ModelActionAbstract with parameters and functions for working with loader and menu items.

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

 Methods

Return the current request ID, if any.

getInstanceId() : mixed

Overrule this function if the last item in the page title should be something other than te value of \MUtil_Model::REQUEST_ID.

Returns

mixed

Returns the current html/head/title for this page.

getTitle(string $separator = null) : string

If the title is an array the seperator concatenates the parts.

Parameters

$separator

string

Returns

string

Helper function to allow generalized statements about the items in the model.

getTopic(integer $count = 1) : \$string

Parameters

$count

integer

Returns

\$string

Helper function to allow generalized treatment of the header.

getTopicTitle() 

return $string

Intializes the html component.

initHtml(boolean $reset = false) : void

Parameters

$reset

boolean

Throws away any existing html output when true

createForm()

createForm(mixed $options = array()) : \Gems_Form

Parameters

$options

mixed

Returns

\Gems_Form

findAllowedMenuItem()

findAllowedMenuItem($action) 

Parameters

$action

Stub for overruling default snippet loader initiation.

loadSnippetLoader() 

 Properties

 

$db

$db : \Zend_Db_Adapter_Abstract

Default

 

$loader

$loader : \Gems_Loader

Default

 

$menu

$menu : \Gems_Menu

Default

 

$util

$util : \Gems_Util

Default