API17:JHtmlBehavior:: getJSObject
From Joomla! Documentation
(Difference between revisions)
(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
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.
JHtmlBehavior::_getJSObject
Description
Internal method to get a JavaScript object notation string from an array.
Description:JHtmlBehavior:: getJSObject [Edit Descripton]
Since
Synopsis
protected static JHtmlBehavior::_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 in
libraries/joomla/html/html/behavior.php (line 682)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JHtmlBehavior:: getJSObject
Examples
<CodeExamplesForm />
