Difference between revisions of "JCategoryNode::getSibling"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCategoryNode::getSibling|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCategoryNode::getSibling|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getSibling ($right=true) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 25: | Line 24: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' JCategoryNode|null | |
− | JCategoryNode|null | + | * '''Defined''' on line 564 of libraries/joomla/application/categories.php |
− | |||
− | libraries/joomla/application/categories.php | ||
− | |||
===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> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 45: | 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 20:20, 27 April 2011
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.
JCategoryNode::getSibling[edit]
Description[edit]
Returns the right or left sibling of a category.
Template: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[edit]
- JCategoryNode::getSibling source code on BitBucket
- Class JCategoryNode
- Subpackage Application
- Other versions of JCategoryNode::getSibling
Template:SeeAlso:JCategoryNode::getSibling [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />