public function getDomainComponent()
    {
        $component = $this;
        while ($component) {
            $class = $component->componentClass;
            if (Kwc_Abstract::hasSetting($class, 'baseProperties') &&
                in_array('domain', Kwc_Abstract::getSetting($class, 'baseProperties'))
            ) {
                return $component;
            }
            $component = $component->parent;
        }
    }
public function getDomainComponent()
    {
        $component = $this;
        while ($component) {
            $class = $component->componentClass;
            if (Kwc_Abstract::hasSetting($class, 'baseProperties') &&
                in_array('domain', Kwc_Abstract::getSetting($class, 'baseProperties'))
            ) {
                return $component;
            }
            $component = $component->parent;
        }
    }
public function getDomainComponent ( ) { $ component = $ this ; while ( $ component ) { $ class = $ component -> componentClass ; if ( Kwc_Abstract :: hasSetting ( $ class , 'baseProperties' ) && in_array ( 'domain' , Kwc_Abstract :: getSetting ( $ class , 'baseProperties' ) ) ) { return $ component ; } $ component = $ component -> parent ; } }
Returns domain component for current component

@return Kwf_Component_Data
Returns domain component for current component