JNode

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(New page: '''JNode''' is a class that allows you to create nodes, normaly used as "leaves" of object-trees. Often used in conjunction with the JTree class. ===Availability=== {{JVer|1.5|From Jo...)
 
m (bad link repair)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''JNode''' is a class that allows you to create nodes, normaly used as "leaves" of object-trees. Often used in conjunction with the [[JTree]] class.
+
This class is available in the following Joomla versions:-
 
+
<splist showpath=notparent />
===Availability===
+
<noinclude>[[Category:Platform JClasses]][[Category:JNode]]</noinclude>
{{JVer|1.5|From Joomla 1.5}} {{JVer|1.6|Joomla 1.6}}
+
 
+
===Defined in===
+
/libraries/joomla/base/tree.php
+
 
+
===Extends===
+
* [[JObject]]
+
 
+
 
+
===Get and Set Methods===
+
Properties which do not have specific get or set methods listed here can be retrieved or set using the inherited [[JObject/get|JObject->get]] method.
+
{| class="wikitable"
+
|-
+
!Get method
+
!Set method
+
!Description
+
!Property
+
|-
+
|[[JNode/getParent|getParent]]
+
|[[JNode/setParent|setParent]]
+
|Gets/Sets the parent of the Node. The parent should also be a JNode object.
+
|<code>$_parent</code>
+
|}
+
 
+
===Other Methods===
+
{| class="wikitable"
+
|-
+
!Method name
+
!Description
+
|}
+
===Importing===
+
<source lang="php">jimport( 'joomla.base.tree' );</source>
+
 
+
===See also===
+
* [http://api.joomla.org/Joomla-Framework/Base/JNode.html JNode on api.joomla.org]
+
* [[JTree]]
+
<noinclude>[[Category:Development]][[Category:Framework]][[Category:JNode]]</noinclude>
+

Latest revision as of 13:58, 29 August 2012

This class is available in the following Joomla versions:-

Page "JNode" has no subpages to list.
Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox