API Documentation

Zend/Dojo/View/Helper/Dojo.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Dojo  
Subpackage
View  
Version
$Id: Dojo.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Dojo_View_Helper_Dojo

Package: Zend\Dojo\View

Zend_Dojo_View_Helper_Dojo: Dojo View Helper

Allows specifying stylesheets, path to dojo, module paths, and onLoad events.

Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

Constant  PROGRAMMATIC_SCRIPT = 1
Constant  PROGRAMMATIC_NOSCRIPT = -1

Properties

Propertyprotected\Zend_Dojo_View_Helper_Dojo_Container  $_container= ''

Propertyprotectedbool  $_useProgrammatic= 'true'
static

Whether or not dijits should be declared programmatically
Default valuetrueDetails
Type
bool
Propertypublic\Zend_View_Interface  $view= ''

Details
Type
\Zend_View_Interface

Methods

methodpublic__call( string $method, array $args ) : mixed

Proxy to container methods

Parameters
Name Type Description
$method string
$args array
Returns
Type Description
mixed
Throws
Exception Description
\Zend_Dojo_View_Exception For invalid method calls
methodpublic__construct( ) : void

Initialize helper

Retrieve container from registry or create new container and store in registry.

methodpublicdojo( ) : \Zend_Dojo_View_Helper_Dojo_Container

Return dojo container

Returns
Type Description
\Zend_Dojo_View_Helper_Dojo_Container
methodpublicsetUseDeclarative( ) : void
static

Set whether or not dijits should be created declaratively

methodpublicsetUseProgrammatic( int $style = self::PROGRAMMATIC_SCRIPT ) : void
static

Set whether or not dijits should be created programmatically

Optionally, specifiy whether or not dijit helpers should generate the programmatic dojo.

Parameters
Name Type Description
$style int
methodpublicsetView( \Zend_Dojo_View_Interface $view ) : void

Set view object

Parameters
Name Type Description
$view \Zend_Dojo_View_Interface
methodpublicuseDeclarative( ) : bool
static

Should dijits be created declaratively?

Returns
Type Description
bool
methodpublicuseProgrammatic( ) : bool
static

Should dijits be created programmatically?

Returns
Type Description
bool
methodpublicuseProgrammaticNoScript( ) : bool
static

Should dijits be created programmatically but without scripts?

Returns
Type Description
bool
Documentation was generated by DocBlox 0.15.1.