API16:JNode/hasParent

出典: Joomla! ドキュメンテーション

目次

Description

Test if this node has a parent

[Edit Descripton]



Syntax

hasParent()


Returns

bool

Defined in

libraries/joomla/base/node.php

Importing

jimport( 'joomla.base.node' );

Source Body

function hasParent() 
{
        return $this->getParent() != null;
}

[Edit See Also]



Examples

<CodeExamplesForm />



自動更新 2012/05/24 12:30:02