Zend Framework  3.0
Public Member Functions | Public Attributes | Protected Attributes | List of all members
HtmlPage Class Reference

Public Member Functions

 __invoke ($data, array $attribs=[], array $params=[], $content=null)
 Output a html object tag.
 
- Public Member Functions inherited from AbstractHtmlElement
 getClosingBracket ()
 Get the tag closing bracket.
 
- Public Member Functions inherited from AbstractHelper
 setView (Renderer $view)
 Set the View object.
 
 getView ()
 Get the view object.
 

Public Attributes

const TYPE = 'text/html'
 Default file type for html.
 
const ATTRIB_CLASSID = 'clsid:25336920-03F9-11CF-8FD0-00AA00686F13'
 Object classid.
 
- Public Attributes inherited from AbstractHtmlElement
const EOL = PHP_EOL
 EOL character.
 

Protected Attributes

 $attribs = ['classid' => self::ATTRIB_CLASSID]
 
- Protected Attributes inherited from AbstractHtmlElement
 $closingBracket = null
 
- Protected Attributes inherited from AbstractHelper
 $view = null
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractHtmlElement
 isXhtml ()
 Is doctype XHTML?
 
 htmlAttribs ($attribs)
 Converts an associative array to a string of tag attributes.
 
 normalizeId ($value)
 Normalize an ID.
 

Member Function Documentation

__invoke (   $data,
array  $attribs = [],
array  $params = [],
  $content = null 
)

Output a html object tag.

Parameters
string$dataThe html url
array$attribsAttribs for the object tag
array$paramsParams for in the object tag
string$contentAlternative content
Returns
string

Member Data Documentation

$attribs = ['classid' => self::ATTRIB_CLASSID]
protected
const ATTRIB_CLASSID = 'clsid:25336920-03F9-11CF-8FD0-00AA00686F13'

Object classid.

const TYPE = 'text/html'

Default file type for html.