public function transform($source)
    {
        if ($this->discoverInterface()) {
            $this->nb_interface->transform($source);
        } else {
            throw new ENabuRenderException(
                ENabuRenderException::ERROR_RENDER_TRANSFORM_NOT_FOUND,
                array($this->nb_descriptor->getKey())
            );
        }
    }
public function transform($source)
    {
        if ($this->discoverInterface()) {
            $this->nb_interface->transform($source);
        } else {
            throw new ENabuRenderException(
                ENabuRenderException::ERROR_RENDER_TRANSFORM_NOT_FOUND,
                array($this->nb_descriptor->getKey())
            );
        }
    }
public function transform ( $ source ) { if ( $ this -> discoverInterface ( ) ) { $ this -> nb_interface -> transform ( $ source ) ; } else { throw new ENabuRenderException ( ENabuRenderException :: ERROR_RENDER_TRANSFORM_NOT_FOUND , array ( $ this -> nb_descriptor -> getKey ( ) ) ) ; } }
This method transform the content passed as parameter and exposes the result in the default output stream.
@param mixed $source Source content to be transformed.
This method transform the content passed as parameter and exposes the result in the default output stream .