API17

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.  
  
{{Description:JHtmlBehavior::_getJSObject}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JHtmlBehavior::_getJSObject|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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/11.1|modal]]
+
** [[modal|modal]]
** [[tooltip/11.1|tooltip]]
+
** [[tooltip|tooltip]]
** [[tree/11.1|tree]]
+
** [[tree|tree]]
** [[uploader/11.1|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/11.1|JHtmlBehavior]]
+
* {{JVer|11.1}} Class [[API17:JHtmlBehavior|JHtmlBehavior]]
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
* [[JHtmlBehavior::_getJSObject|Other versions of JHtmlBehavior::_getJSObject]]
+
* [[API17:JHtmlBehavior::_getJSObject|Other versions of JHtmlBehavior::_getJSObject]]
{{SeeAlso:JHtmlBehavior::_getJSObject}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlBehavior::_getJSObject|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JHtmlBehavior::_getJSObject
 
category=JHtmlBehavior::_getJSObject
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 52: Line 48:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JHtmlBehavior]][[Category:JHtmlBehavior::_getJSObject]]</noinclude>
+
<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.

Joomla 11.1 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 Joomla 11.1
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]