Difference between revisions of "JHtmlBehavior:: getJSObject"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Internal method to get a JavaScript object notation string from an array. | Internal method to get a JavaScript object notation string from an array. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
protected static function _getJSObject ($array=array()) | protected static function _getJSObject ($array=array()) | ||
Line 28: | Line 26: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[modal | + | ** [[modal|modal]] |
− | ** [[tooltip | + | ** [[tooltip|tooltip]] |
− | ** [[tree | + | ** [[tree|tree]] |
− | ** [[uploader | + | ** [[uploader|uploader]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JHtmlBehavior::_getJSObject source code''' on [[jplatform:html/html/behavior.php#cl-674|BitBucket]] | * {{JVer|11.1}} '''JHtmlBehavior::_getJSObject source code''' on [[jplatform:html/html/behavior.php#cl-674|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JHtmlBehavior | + | * {{JVer|11.1}} Class [[API17:JHtmlBehavior|JHtmlBehavior]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] |
− | * [[JHtmlBehavior::_getJSObject|Other versions of JHtmlBehavior::_getJSObject]] | + | * [[API17:JHtmlBehavior::_getJSObject|Other versions of JHtmlBehavior::_getJSObject]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtmlBehavior::_getJSObject | category=JHtmlBehavior::_getJSObject | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 52: | Line 48: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:10, 24 March 2017
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.
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
- Referenced by
See also[edit]
- JHtmlBehavior::_getJSObject source code on BitBucket
- Class JHtmlBehavior
- Subpackage Html
- Other versions of JHtmlBehavior::_getJSObject
User contributed notes[edit]
Code Examples[edit]