private function initialize()
    {
        $params = $this->getParameters();

        if ($params) {
            foreach ($params as $param) {
                $setter = 'set' . str_replace(' ', '', ucwords(str_replace('-', ' ', $param->getName())));
                if (FALSE === method_exists($this, $setter)) {
                    $msg = sprintf('Unknown parameter "%s" for LocalConfigurationFilter!', $param->getName());
                    throw new BuildException($msg);
                }

                call_user_func(array($this, $setter), $param->getValue());
            }
        }

        if (NULL === $this->installTool) {
            $this->addInstallTool();
        }
    }
private function initialize()
    {
        $params = $this->getParameters();

        if ($params) {
            foreach ($params as $param) {
                $setter = 'set' . str_replace(' ', '', ucwords(str_replace('-', ' ', $param->getName())));
                if (FALSE === method_exists($this, $setter)) {
                    $msg = sprintf('Unknown parameter "%s" for LocalConfigurationFilter!', $param->getName());
                    throw new BuildException($msg);
                }

                call_user_func(array($this, $setter), $param->getValue());
            }
        }

        if (NULL === $this->installTool) {
            $this->addInstallTool();
        }
    }
private function initialize ( ) { $ params = $ this -> getParameters ( ) ; if ( $ params ) { foreach ( $ params as $ param ) { $ setter = 'set' . str_replace ( ' ' , '' , ucwords ( str_replace ( '-' , ' ' , $ param -> getName ( ) ) ) ) ; if ( FALSE === method_exists ( $ this , $ setter ) ) { $ msg = sprintf ( 'Unknown parameter "%s" for LocalConfigurationFilter!' , $ param -> getName ( ) ) ; throw new BuildException ( $ msg ) ; } call_user_func ( array ( $ this , $ setter ) , $ param -> getValue ( ) ) ; } } if ( NULL === $ this -> installTool ) { $ this -> addInstallTool ( ) ; } }
Initializes any parameters

This method is only called when this filter is used through a <filterreader> tag in build file.

@return void
Initializes any parameters