public function getRenderFactory(CNabuRenderInterfaceDescriptor $nb_descriptor)
    {
        if (!($retval = $this->nb_render_factory_list->getItem($nb_descriptor->getKey()))) {
            $retval = $this->nb_render_factory_list->addItem(new CNabuRenderFactory($nb_descriptor));
        }

        return $retval;
    }
public function getRenderFactory(CNabuRenderInterfaceDescriptor $nb_descriptor)
    {
        if (!($retval = $this->nb_render_factory_list->getItem($nb_descriptor->getKey()))) {
            $retval = $this->nb_render_factory_list->addItem(new CNabuRenderFactory($nb_descriptor));
        }

        return $retval;
    }
public function getRenderFactory ( CNabuRenderInterfaceDescriptor $ nb_descriptor ) { if ( ! ( $ retval = $ this -> nb_render_factory_list -> getItem ( $ nb_descriptor -> getKey ( ) ) ) ) { $ retval = $ this -> nb_render_factory_list -> addItem ( new CNabuRenderFactory ( $ nb_descriptor ) ) ; } return $ retval ; }
Gets a Render Factory instance for a Descriptor. If Factory instance already exists then returns it.
@param CNabuRenderInterfaceDescriptor $nb_descriptor Render Descriptor instance to locate the required Factory.
@return CNabuRenderFactory|false Returns the Factory if $nb_mimetype exists, or false if not.
Gets a Render Factory instance for a Descriptor . If Factory instance already exists then returns it .