JHtmlBehavior:: getJSObject

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtmlBehavior::_getJSObject


Internal method to get a JavaScript object notation string from an array.


protected static function _getJSObject ($array=array())
Parameter Type Default Description
$array array array() The array to convert to JavaScript object notation
  • Returns string JavaScript object notation representation of the array
  • Defined on line 682 of libraries/joomla/html/html/behavior.php
  • Since Joomla 11.1
  • Referenced by

See also

  • Joomla 11.1 JHtmlBehavior::_getJSObject source code on BitBucket
  • Joomla 11.1 Class JHtmlBehavior
  • Joomla 11.1 Subpackage Html
  • Other versions of JHtmlBehavior::_getJSObject


User contributed notes

<CodeExamplesForm />