classes/phing/filters/XsltFilter.php
public function chain(Reader $reader)
    {
        $newFilter = new XsltFilter($reader);
        $newFilter->setProject($this->getProject());
        $newFilter->setStyle($this->getStyle());
        $newFilter->setInitialized(true);
        $newFilter->setParams($this->getParams());
        $newFilter->setHtml($this->getHtml());

        return $newFilter;
    }
public function chain(Reader $reader)
    {
        $newFilter = new XsltFilter($reader);
        $newFilter->setProject($this->getProject());
        $newFilter->setStyle($this->getStyle());
        $newFilter->setInitialized(true);
        $newFilter->setParams($this->getParams());
        $newFilter->setHtml($this->getHtml());

        return $newFilter;
    }
public function chain ( Reader $ reader ) { $ newFilter = new XsltFilter ( $ reader ) ; $ newFilter -> setProject ( $ this -> getProject ( ) ) ; $ newFilter -> setStyle ( $ this -> getStyle ( ) ) ; $ newFilter -> setInitialized ( true ) ; $ newFilter -> setParams ( $ this -> getParams ( ) ) ; $ newFilter -> setHtml ( $ this -> getHtml ( ) ) ; return $ newFilter ; }
Creates a new XsltFilter using the passed in
Reader for instantiation.

@param Reader A Reader object providing the underlying stream.
Must not be <code>null</code>.

@return XsltFilter A new filter based on this configuration, but filtering
the specified reader
Creates a new XsltFilter using the passed in Reader for instantiation .