package Default
inherited_from \Zend\View\Helper\AbstractHtmlElement

 Methods

Output a html object tag

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

Parameters

$data

string

The html url

$attribs

array

Attribs for the object tag

$params

array

Params for in the object tag

$content

string

Alternative content

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

 

Default attributes

$attribs : array

Default

array('classid' => self::ATTRIB_CLASSID)
 

The tag closing bracket

$closingBracket : string

Default

null
 

View object instance

$view : \Zend\View\Renderer\RendererInterface

Default

null

 Constants

 

Object classid

ATTRIB_CLASSID = 'clsid:25336920-03F9-11CF-8FD0-00AA00686F13' 
 

EOL character

EOL = PHP_EOL 
deprecated just use PHP_EOL
 

Default file type for html

TYPE = 'text/html'