Perforce Chronicle 2012.2/486814
API Documentation
|
Derivative of dojo form view helper. More...
Protected Member Functions | |
_prepareDijit (array $attribs, array $params, $type, $dijit=null) | |
Take dijit (dojoType) from attribs if specified and dijit arg is null. | |
Protected Attributes | |
$_dijit = 'p4cms.ui.Form' | |
$_module = 'p4cms.ui.Form' |
Derivative of dojo form view helper.
Makes it possible to change the form dojo type by setting dojoType in attribs.
P4Cms_View_Helper_Form::_prepareDijit | ( | array $ | attribs, |
array $ | params, | ||
$ | type, | ||
$ | dijit = null |
||
) | [protected] |
Take dijit (dojoType) from attribs if specified and dijit arg is null.
array | $attribs | Array of HTML attributes |
array | $params | Parameters to pass along to parent |
string | $type | Type to pass along to parent |
string | $dijit | Dijit type to use (otherwise, pull from attribs, then $_dijit) |
{ if ($dijit === null && isset($attribs['dojoType'])) { $dijit = $attribs['dojoType']; } return parent::_prepareDijit($attribs, $params, $type, $dijit); }
P4Cms_View_Helper_Form::$_dijit = 'p4cms.ui.Form' [protected] |
P4Cms_View_Helper_Form::$_module = 'p4cms.ui.Form' [protected] |