Swat/SwatCellRenderer.php
final protected function getCompositeRenderer($key)
    {
        $this->confirmCompositeRenderers();

        if (!array_key_exists($key, $this->composite_renderers)) {
            throw new SwatWidgetNotFoundException(
                sprintf(
                    "Composite renderer with key of '%s' not found in %s. Make " .
                        "sure the composite renderer was created and added to this " .
                        "renderer.",
                    $key,
                    get_class($this)
                ),
                0,
                $key
            );
        }

        return $this->composite_renderers[$key];
    }
final protected function getCompositeRenderer($key)
    {
        $this->confirmCompositeRenderers();

        if (!array_key_exists($key, $this->composite_renderers)) {
            throw new SwatWidgetNotFoundException(
                sprintf(
                    "Composite renderer with key of '%s' not found in %s. Make " .
                        "sure the composite renderer was created and added to this " .
                        "renderer.",
                    $key,
                    get_class($this)
                ),
                0,
                $key
            );
        }

        return $this->composite_renderers[$key];
    }
final protected function getCompositeRenderer ( $ key ) { $ this -> confirmCompositeRenderers ( ) ; if ( ! array_key_exists ( $ key , $ this -> composite_renderers ) ) { throw new SwatWidgetNotFoundException ( sprintf ( "Composite renderer with key of '%s' not found in %s. Make " . "sure the composite renderer was created and added to this " . "renderer." , $ key , get_class ( $ this ) ) , 0 , $ key ) ; } return $ this -> composite_renderers [ $ key ] ; }
Gets a composite renderer of this renderer by the composite renderer's
key

This is used by other methods to retrieve a specific composite renderer.
This method ensures composite renderers are created before trying to
retrieve the specified renderer.

@param string $key the key of the composite renderer to get.

@return SwatCellRenderer the specified composite renderer.

@throws SwatWidgetNotFoundException if no composite renderer with the
specified key exists in this
renderer.
Gets a composite renderer of this renderer by the composite renderer s key