public function getPageGenerators()
    {
        if (!is_null($this->_pageGenerators)) return $this->_pageGenerators;

        $cacheId = $this->componentClass . '_pageGenerators';

        $generators = Kwf_Cache_SimpleStatic::fetch($cacheId);
        if (!$generators) {
            $generators = array();
            foreach (Kwc_Abstract::getComponentClasses() as $class) {
                foreach (Kwc_Abstract::getSetting($class, 'generators') as $key => $generator) {
                    if (!isset($generator['class'])) {
                        throw new Kwf_Exception("no generator class set for generator '$key' in component '$class'");
                    }
                    if (is_instance_of($generator['class'], 'Kwc_Root_Category_Generator')) {
                        $generators[] = array('class' => $class, 'key' => $key, 'generator' => $generator);
                    }
                }
            }
            Kwf_Cache_SimpleStatic::add($cacheId, $generators);
        }

        $this->_pageGenerators = array();
        foreach ($generators as $g) {
            $this->_pageGenerators[] = Kwf_Component_Generator_Abstract::getInstance(
                $g['class'], $g['key'], $g['generator']
            );
        }
        return $this->_pageGenerators;
    }
public function getPageGenerators()
    {
        if (!is_null($this->_pageGenerators)) return $this->_pageGenerators;

        $cacheId = $this->componentClass . '_pageGenerators';

        $generators = Kwf_Cache_SimpleStatic::fetch($cacheId);
        if (!$generators) {
            $generators = array();
            foreach (Kwc_Abstract::getComponentClasses() as $class) {
                foreach (Kwc_Abstract::getSetting($class, 'generators') as $key => $generator) {
                    if (!isset($generator['class'])) {
                        throw new Kwf_Exception("no generator class set for generator '$key' in component '$class'");
                    }
                    if (is_instance_of($generator['class'], 'Kwc_Root_Category_Generator')) {
                        $generators[] = array('class' => $class, 'key' => $key, 'generator' => $generator);
                    }
                }
            }
            Kwf_Cache_SimpleStatic::add($cacheId, $generators);
        }

        $this->_pageGenerators = array();
        foreach ($generators as $g) {
            $this->_pageGenerators[] = Kwf_Component_Generator_Abstract::getInstance(
                $g['class'], $g['key'], $g['generator']
            );
        }
        return $this->_pageGenerators;
    }
public function getPageGenerators ( ) { if ( ! is_null ( $ this -> _pageGenerators ) ) return $ this -> _pageGenerators ; $ cacheId = $ this -> componentClass . '_pageGenerators' ; $ generators = Kwf_Cache_SimpleStatic :: fetch ( $ cacheId ) ; if ( ! $ generators ) { $ generators = array ( ) ; foreach ( Kwc_Abstract :: getComponentClasses ( ) as $ class ) { foreach ( Kwc_Abstract :: getSetting ( $ class , 'generators' ) as $ key => $ generator ) { if ( ! isset ( $ generator [ 'class' ] ) ) { throw new Kwf_Exception ( "no generator class set for generator '$key' in component '$class'" ) ; } if ( is_instance_of ( $ generator [ 'class' ] , 'Kwc_Root_Category_Generator' ) ) { $ generators [ ] = array ( 'class' => $ class , 'key' => $ key , 'generator' => $ generator ) ; } } } Kwf_Cache_SimpleStatic :: add ( $ cacheId , $ generators ) ; } $ this -> _pageGenerators = array ( ) ; foreach ( $ generators as $ g ) { $ this -> _pageGenerators [ ] = Kwf_Component_Generator_Abstract :: getInstance ( $ g [ 'class' ] , $ g [ 'key' ] , $ g [ 'generator' ] ) ; } return $ this -> _pageGenerators ; }
Returns all Kwc_Root_Category_Generators used.

the name of this method is a bit missleading

@return Kwc_Root_Category_Generator[]
Returns all Kwc_Root_Category_Generators used .