API17

JHtmlBehavior:: getJSObject

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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

  • 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

Code Examples


Advertisement