Swat/SwatCellRendererSet.php
public function getRenderer($renderer_id)
    {
        if (array_key_exists($renderer_id, $this->renderers_by_id)) {
            return $this->renderers_by_id[$renderer_id];
        }

        throw new SwatObjectNotFoundException(
            "Cell renderer with an id of '{$renderer_id}' not found.",
            0,
            $renderer_id
        );
    }
public function getRenderer($renderer_id)
    {
        if (array_key_exists($renderer_id, $this->renderers_by_id)) {
            return $this->renderers_by_id[$renderer_id];
        }

        throw new SwatObjectNotFoundException(
            "Cell renderer with an id of '{$renderer_id}' not found.",
            0,
            $renderer_id
        );
    }
public function getRenderer ( $ renderer_id ) { if ( array_key_exists ( $ renderer_id , $ this -> renderers_by_id ) ) { return $ this -> renderers_by_id [ $ renderer_id ] ; } throw new SwatObjectNotFoundException ( "Cell renderer with an id of '{$renderer_id}' not found." , 0 , $ renderer_id ) ; }
Gets a renderer in this set by its id

@param string $renderer_id the id of the renderer to get.

@return SwatCellRenderer the cell renderer from this set with the given
id.

@throws SwatObjectNotFoundException if a renderer with the given
<i>$renderer_id</i> does not exist
in this set.
Gets a renderer in this set by its id