API Documentation

Dojo/View/Helper/Dojo.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dojo
subpackage
View
version
$Id: Dojo.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Dojo_View_Helper_Dojo

Description

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

copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dojo
subpackage
View
Constants
PROGRAMMATIC_SCRIPT
PROGRAMMATIC_NOSCRIPT
Properties
$view
$_container
$_useProgrammatic
Methods
__construct
setView
dojo
__call
setUseDeclarative
setUseProgrammatic
useDeclarative
useProgrammatic
useProgrammaticNoScript

Description

Zend_Dojo_View_Helper_Dojo: Dojo View Helper

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

Constants

PROGRAMMATIC_SCRIPT

 PROGRAMMATIC_SCRIPT = '1'

Details

value
1

PROGRAMMATIC_NOSCRIPT

 PROGRAMMATIC_NOSCRIPT = '1'

Details

value
1

Properties

$_container

Zend_Dojo_View_Helper_Dojo_Container $_container = ''

Details

$_container
Zend_Dojo_View_Helper_Dojo_Container
visibility
protected
default
final
false
static
false

$_useProgrammatic

bool $_useProgrammatic = 'true'

Details

$_useProgrammatic
bool
Whether or not dijits should be declared programmatically
visibility
protected
default
true
final
false
static
true

$view

Zend_View_Interface $view = ''

Details

$view
Zend_View_Interface
visibility
public
default
final
false
static
false

Methods

__call

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

Proxy to container methods

Arguments
$method
string
$args
array
Output
mixed
Details
visibility
public
final
false
static
false
throws
For invalid method calls

__construct

__construct( ) : void

Initialize helper

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

Details
visibility
public
final
false
static
false

dojo

dojo( ) : Zend_Dojo_View_Helper_Dojo_Container

Return dojo container

Details
visibility
public
final
false
static
false

setUseDeclarative

setUseDeclarative( ) : void

Set whether or not dijits should be created declaratively

Details
visibility
public
final
false
static
true

setUseProgrammatic

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.

Arguments
$style
int
Details
visibility
public
final
false
static
true

setView

setView( Zend_Dojo_View_Interface $view ) : void

Set view object

Arguments
$view
Zend_Dojo_View_Interface
Details
visibility
public
final
false
static
false

useDeclarative

useDeclarative( ) : bool

Should dijits be created declaratively?

Output
bool
Details
visibility
public
final
false
static
true

useProgrammatic

useProgrammatic( ) : bool

Should dijits be created programmatically?

Output
bool
Details
visibility
public
final
false
static
true

useProgrammaticNoScript

useProgrammaticNoScript( ) : bool

Should dijits be created programmatically but without scripts?

Output
bool
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox.