Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Dojo_View_Helper_Dojo: Dojo View Helper
Allows specifying stylesheets, path to dojo, module paths, and onLoad events.
PROGRAMMATIC_SCRIPT = '1'
PROGRAMMATIC_NOSCRIPT = '1'
Zend_Dojo_View_Helper_Dojo_Container $_container = ''
bool $_useProgrammatic = 'true'
Zend_View_Interface $view = ''
__call(
string $method, array $args
)
:
mixed
Proxy to container methods
__construct(
)
:
void
Initialize helper
Retrieve container from registry or create new container and store in registry.
dojo(
)
:
Zend_Dojo_View_Helper_Dojo_Container
Return dojo container
setUseDeclarative(
)
:
void
Set whether or not dijits should be created declaratively
setUseProgrammatic(
int $style
=
self
)
:
void
Set whether or not dijits should be created programmatically
Optionally, specifiy whether or not dijit helpers should generate the programmatic dojo.
setView(
Zend_Dojo_View_Interface $view
)
:
void
Set view object
useDeclarative(
)
:
bool
Should dijits be created declaratively?
useProgrammatic(
)
:
bool
Should dijits be created programmatically?
useProgrammaticNoScript(
)
:
bool
Should dijits be created programmatically but without scripts?