Difference between revisions of "JHtmlBehavior:: getJSObject"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 30: | Line 30: | ||
string JavaScript object notation representation of the array | string JavaScript object notation representation of the array | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/html/html/behavior.php | + | libraries/joomla/html/html/behavior.php (line 682) |
+ | * see source code in [[jplatform:html/html/behavior.php#cl-682|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
* [[modal/11.1|modal]] | * [[modal/11.1|modal]] |
Revision as of 20:40, 23 April 2011
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.
JHtmlBehavior::_getJSObject[edit]
Description[edit]
Internal method to get a JavaScript object notation string from an array.
Template:Description:JHtmlBehavior:: getJSObject [Edit Descripton]
Since[edit]
Synopsis[edit]
protected static JHtmlBehavior::_getJSObject ($array=array())
Parameter | Type | Default | Description |
---|---|---|---|
$array | array | array() | The array to convert to JavaScript object notation |
Returns[edit]
string JavaScript object notation representation of the array
Defined in[edit]
libraries/joomla/html/html/behavior.php (line 682)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JHtmlBehavior:: getJSObject
Examples[edit]
<CodeExamplesForm />