Actions

API17

Difference between revisions of "JTableNested::isLeaf"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JTableNested::isLeaf|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JTableNested::isLeaf|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JTableNested::isLeaf ($pk=null)
+
public function isLeaf ($pk=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if a leaf node.
boolean True if a leaf node.
+
* '''Defined''' on line 181 of libraries/joomla/database/tablenested.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/tablenested.php (line 181)
+
* see source code in [[jplatform:database/tablenested.php#cl-181|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JTableNested::isLeaf source code''' on [[jplatform:database/tablenested.php#cl-173|BitBucket]]
 +
* {{JVer|11.1}} Class [[JTableNested/11.1|JTableNested]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JTableNested::isLeaf|Other versions of JTableNested::isLeaf]]
 +
{{SeeAlso:JTableNested::isLeaf}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JTableNested::isLeaf|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JTableNested::isLeaf|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JTableNested/11.1|JTableNested]]
+
===User contributed notes===
* [[JTableNested::isLeaf|Other versions of this method]]
+
{{SeeAlso:JTableNested::isLeaf}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JTableNested]][[Category:JTableNested::isLeaf]]</noinclude>
 
<noinclude>[[Category:JTableNested]][[Category:JTableNested::isLeaf]]</noinclude>

Revision as of 21:48, 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 JTableNested::isLeaf

Description

Method to determine if a node is a leaf node in the tree (has no children).

Description:JTableNested::isLeaf [Edit Descripton]

public function isLeaf ($pk=null)
Parameter Type Default Description
$pk integer null Primary key of the node to check.
  • Returns boolean True if a leaf node.
  • Defined on line 181 of libraries/joomla/database/tablenested.php
  • Since Joomla 11.1

See also

SeeAlso:JTableNested::isLeaf [Edit See Also]

User contributed notes

<CodeExamplesForm />