Actions

API17

Difference between revisions of "JHtmlBehavior:: getJSObject"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
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
+
* '''Referenced by'''
===Referenced by===
+
** [[modal/11.1|modal]]
* [[modal/11.1|modal]]
+
** [[tooltip/11.1|tooltip]]
* [[tooltip/11.1|tooltip]]
+
** [[tree/11.1|tree]]
* [[tree/11.1|tree]]
+
** [[uploader/11.1|uploader]]
* [[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 51: 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

Replacement filing cabinet.png
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.

Joomla 11.1 JHtmlBehavior::_getJSObject

Description

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

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

SeeAlso:JHtmlBehavior:: getJSObject [Edit See Also]

User contributed notes

<CodeExamplesForm />