Property | Type | Description | |
---|---|---|---|
$helpers | |||
$settings | Settings configured Configure class, ie. Configure::write('Chosen.asset_base', '/path'); take precedence over settings configured through Controller::$helpers property. |
Method | Description | |
---|---|---|
__construct ( View $view, $settings = [] ) | ||
afterRender ( $viewFile ) | ||
getDebug ( ) | ||
getLoadStatus ( ) | ||
getSetting ( $setting ) | ||
getSettings ( ) | ||
isSupportedFramework ( $val ) : boolean | Test if a JS framework is supported by this helper. | |
loadScripts ( ) | ||
select ( $name, $options = [], $attributes = [] ) | Chosen select element. |
Method | Description | |
---|---|---|
getElement ( $element ) : string | Gets the Plugin's element file based on JS framework being used. |
protected getElement ( $element ) : string | ||
$element | string Name of the plugin element to use. | |
return | string | rendered javascript block based on the JS framework element. |
public isSupportedFramework ( $val ) : boolean | ||
$val | The 'framework' setting must use a supported framework. | |
return | boolean |
public select ( $name, $options = [], $attributes = [] ) |