Actions

API17

Difference between revisions of "JSimpleXMLElement:: construct"

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:JSimpleXMLElement::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JSimpleXMLElement::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JSimpleXMLElement->__construct ($name, $attrs=array(), $level=0)
+
public function __construct (
 +
        $name
 +
        $attrs=array
 +
        $level=0
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 35:
 
|int
 
|int
 
|0
 
|0
|$parents  
+
|$parents
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 393 of libraries/joomla/utilities/simplexml.php
===Defined in===
+
libraries/joomla/utilities/simplexml.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JSimpleXMLElement::__construct source code''' on [[jplatform:utilities/simplexml.php#cl-385|BitBucket]]
 +
* {{JVer|11.1}} Class [[JSimpleXMLElement/11.1|JSimpleXMLElement]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JSimpleXMLElement::__construct|Other versions of JSimpleXMLElement::__construct]]
 +
{{SeeAlso:JSimpleXMLElement::__construct}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXMLElement::__construct|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXMLElement::__construct|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JSimpleXMLElement/11.1|JSimpleXMLElement]]
+
===User contributed notes===
* [[JSimpleXMLElement::__construct|Other versions of this method]]
+
{{SeeAlso:JSimpleXMLElement::__construct}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 55: Line 57:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JSimpleXMLElement]][[Category:JSimpleXMLElement::__construct]]</noinclude>
 
<noinclude>[[Category:JSimpleXMLElement]][[Category:JSimpleXMLElement::__construct]]</noinclude>

Revision as of 21:41, 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 JSimpleXMLElement::__construct

Description

Constructor, sets up all the default values.

Description:JSimpleXMLElement:: construct [Edit Descripton]

public function __construct (
        $name
        $attrs=array
        $level=0
)
Parameter Type Default Description
$name string
$attrs array array()
$level int 0 $parents
  • Returns
  • Defined on line 393 of libraries/joomla/utilities/simplexml.php

See also

SeeAlso:JSimpleXMLElement:: construct [Edit See Also]

User contributed notes

<CodeExamplesForm />