classes/phing/filters/XsltFilter.php
private function _initialize()
    {
        $params = $this->getParameters();
        if ($params !== null) {
            for ($i = 0, $_i = count($params); $i < $_i; $i++) {
                if ($params[$i]->getType() === null) {
                    if ($params[$i]->getName() === "style") {
                        $this->setStyle($params[$i]->getValue());
                    }
                } elseif ($params[$i]->getType() == "param") {
                    $xp = new XsltParam();
                    $xp->setName($params[$i]->getName());
                    $xp->setExpression($params[$i]->getValue());
                    $this->xsltParams[] = $xp;
                }
            }
        }
    }
private function _initialize()
    {
        $params = $this->getParameters();
        if ($params !== null) {
            for ($i = 0, $_i = count($params); $i < $_i; $i++) {
                if ($params[$i]->getType() === null) {
                    if ($params[$i]->getName() === "style") {
                        $this->setStyle($params[$i]->getValue());
                    }
                } elseif ($params[$i]->getType() == "param") {
                    $xp = new XsltParam();
                    $xp->setName($params[$i]->getName());
                    $xp->setExpression($params[$i]->getValue());
                    $this->xsltParams[] = $xp;
                }
            }
        }
    }
private function _initialize ( ) { $ params = $ this -> getParameters ( ) ; if ( $ params !== null ) { for ( $ i = 0 , $ _i = count ( $ params ) ; $ i < $ _i ; $ i ++ ) { if ( $ params [ $ i ] -> getType ( ) === null ) { if ( $ params [ $ i ] -> getName ( ) === "style" ) { $ this -> setStyle ( $ params [ $ i ] -> getValue ( ) ) ; } } elseif ( $ params [ $ i ] -> getType ( ) == "param" ) { $ xp = new XsltParam ( ) ; $ xp -> setName ( $ params [ $ i ] -> getName ( ) ) ; $ xp -> setExpression ( $ params [ $ i ] -> getValue ( ) ) ; $ this -> xsltParams [ ] = $ xp ; } } } }
Parses the parameters to get stylesheet path.
Parses the parameters to get stylesheet path .