API17

API17:JHtmlBehavior:: getJSObject

From Joomla! Documentation

Joomla 11.1 JHtmlBehavior::_getJSObject

Description

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


User contributed notes

Code Examples