API17

Difference between revisions of "JHtmlBehavior:: getJSObject"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlBehavior::_getJSObject|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlBehavior::_getJSObject|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected static JHtmlBehavior::_getJSObject ($array=array())
+
protected static function _getJSObject ($array=array())
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string JavaScript object notation representation of the array
string JavaScript object notation representation of the array
+
* '''Defined''' on line 682 of libraries/joomla/html/html/behavior.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/html/behavior.php (line 682)
+
* '''Referenced by'''
* see source code in [[jplatform:html/html/behavior.php#cl-682|BitBucket]]
+
** [[modal/11.1|modal]]
===Referenced by===
+
** [[tooltip/11.1|tooltip]]
* [[modal/11.1|modal]]
+
** [[tree/11.1|tree]]
* [[tooltip/11.1|tooltip]]
+
** [[uploader/11.1|uploader]]
* [[tree/11.1|tree]]
 
* [[uploader/11.1|uploader]]
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtmlBehavior::_getJSObject source code''' on [[jplatform:html/html/behavior.php#cl-674|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtmlBehavior/11.1|JHtmlBehavior]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtmlBehavior::_getJSObject|Other versions of JHtmlBehavior::_getJSObject]]
 +
{{SeeAlso:JHtmlBehavior::_getJSObject}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlBehavior::_getJSObject|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlBehavior::_getJSObject|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtmlBehavior/11.1|JHtmlBehavior]]
+
===User contributed notes===
* [[JHtmlBehavior::_getJSObject|Other versions of this method]]
 
{{SeeAlso:JHtmlBehavior::_getJSObject}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 52: Line 49:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtmlBehavior]][[Category:JHtmlBehavior::_getJSObject]]</noinclude>
 
<noinclude>[[Category:JHtmlBehavior]][[Category:JHtmlBehavior::_getJSObject]]</noinclude>

Revision as of 21:05, 27 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.

Joomla 11.1 JHtmlBehavior::_getJSObject[edit]

Description[edit]

Internal method to get a JavaScript object notation string from an array.

Template:Description:JHtmlBehavior:: getJSObject [Edit Descripton]

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[edit]

Template:SeeAlso:JHtmlBehavior:: getJSObject [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />