public function isItemClass(core_kernel_classes_Class $clazz)
    {
        $returnValue = (bool)false;

        if ($this->itemClass->getUri() == $clazz->getUri()) {
            return true;
        }

        foreach ($clazz->getParentClasses(true) as $parent) {

            if ($parent->getUri() == $this->itemClass->getUri()) {
                $returnValue = true;
                break;
            }
        }

        return (bool)$returnValue;
    }
public function isItemClass(core_kernel_classes_Class $clazz)
    {
        $returnValue = (bool)false;

        if ($this->itemClass->getUri() == $clazz->getUri()) {
            return true;
        }

        foreach ($clazz->getParentClasses(true) as $parent) {

            if ($parent->getUri() == $this->itemClass->getUri()) {
                $returnValue = true;
                break;
            }
        }

        return (bool)$returnValue;
    }
public function isItemClass ( core_kernel_classes_Class $ clazz ) { $ returnValue = ( bool ) false ; if ( $ this -> itemClass -> getUri ( ) == $ clazz -> getUri ( ) ) { return true ; } foreach ( $ clazz -> getParentClasses ( true ) as $ parent ) { if ( $ parent -> getUri ( ) == $ this -> itemClass -> getUri ( ) ) { $ returnValue = true ; break ; } } return ( bool ) $ returnValue ; }
check if the class is a or a subclass of an Item

@access public
@author Joel Bout, <joel@taotesting.com>
@param  core_kernel_classes_Class clazz
@return boolean
check if the class is a or a subclass of an Item