package Default
inherited_from \Zend\View\Helper\AbstractHtmlElement

 Methods

Output an object set

__invoke(string $data = null, string $type = null, array $attribs = array(), array $params = array(), string $content = null) : string

Parameters

$data

string

The data file

$type

string

Data file type

$attribs

array

Attribs for the object tag

$params

array

Params for in the object tag

$content

string

Alternative content for object

Exceptions

\Zend\View\Exception\InvalidArgumentException

Returns

string

Get the tag closing bracket

getClosingBracket() : string
Inherited

Returns

string

Get the view object

getView() : null | \Zend\View\Renderer\RendererInterface
Inherited
inherited_from \Zend\View\Helper\HelperInterface::getView()

Returns

null\Zend\View\Renderer\RendererInterface

Set the View object

setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited
inherited_from \Zend\View\Helper\HelperInterface::setView()

Parameters

$view

\Zend\View\Renderer\RendererInterface

Returns

\Zend\View\Helper\AbstractHelper

Converts an associative array to a string of tag attributes.

htmlAttribs(array $attribs) : string
Inherited
access public

Parameters

$attribs

array

From this array, each key-value pair is converted to an attribute name and value.

Returns

stringThe XHTML for the attributes.

Is doctype XHTML?

isXhtml() : boolean
Inherited

Returns

boolean

Normalize an ID

normalizeId(string $value) : string
Inherited

Parameters

$value

string

Returns

string

 Properties

 

The tag closing bracket

$closingBracket : string

Default

null
 

View object instance

$view : \Zend\View\Renderer\RendererInterface

Default

null

 Constants

 

EOL character

EOL = PHP_EOL 
deprecated just use PHP_EOL