Zend Framework  3.0
Public Member Functions | List of all members
HtmlObject Class Reference

Public Member Functions

 __invoke ($data=null, $type=null, array $attribs=[], array $params=[], $content=null)
 Output an object set.
 
- 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.
 

Additional Inherited Members

- Public Attributes inherited from AbstractHtmlElement
const EOL = PHP_EOL
 EOL character.
 
- 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.
 
- Protected Attributes inherited from AbstractHtmlElement
 $closingBracket = null
 

Member Function Documentation

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

Output an object set.

Parameters
string$dataThe data file
string$typeData file type
array$attribsAttribs for the object tag
array$paramsParams for in the object tag
string$contentAlternative content for object
Exceptions
InvalidArgumentException
Returns
string