Actions

API17

Difference between revisions of "JCategoryNode::getSibling"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JCategoryNode::getSibling|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCategoryNode::getSibling|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JCategoryNode::getSibling ($right=true)
+
public function getSibling ($right=true)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' JCategoryNode|null
JCategoryNode|null
+
* '''Defined''' on line 564 of libraries/joomla/application/categories.php
===Defined in===
+
libraries/joomla/application/categories.php (line 564)
+
* see source code in [[jplatform:application/categories.php#cl-564|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JCategoryNode::getSibling source code''' on [[jplatform:application/categories.php#cl-556|BitBucket]]
 +
* {{JVer|11.1}} Class [[JCategoryNode/11.1|JCategoryNode]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
 +
* [[JCategoryNode::getSibling|Other versions of JCategoryNode::getSibling]]
 +
{{SeeAlso:JCategoryNode::getSibling}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCategoryNode::getSibling|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCategoryNode::getSibling|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JCategoryNode/11.1|JCategoryNode]]
+
===User contributed notes===
* [[JCategoryNode::getSibling|Other versions of this method]]
+
{{SeeAlso:JCategoryNode::getSibling}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 46: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JCategoryNode]][[Category:JCategoryNode::getSibling]]</noinclude>
 
<noinclude>[[Category:JCategoryNode]][[Category:JCategoryNode::getSibling]]</noinclude>

Revision as of 19:20, 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 JCategoryNode::getSibling

Description

Returns the right or left sibling of a category.

Description:JCategoryNode::getSibling [Edit Descripton]

public function getSibling ($right=true)
Parameter Type Default Description
$right boolean true if set to false, returns the left sibling
  • Returns JCategoryNode|null
  • Defined on line 564 of libraries/joomla/application/categories.php

See also

SeeAlso:JCategoryNode::getSibling [Edit See Also]

User contributed notes

<CodeExamplesForm />