classes/phing/types/selectors/FilenameSelector.php
public function verifySettings()
    {
        if ($this->pattern === null && $this->regex === null) {
            $this->setError("The name or regex attribute is required");
        } elseif ($this->pattern !== null && $this->regex !== null) {
            $this->setError("Only one of name and regex attribute is allowed");
        }
    }
public function verifySettings()
    {
        if ($this->pattern === null && $this->regex === null) {
            $this->setError("The name or regex attribute is required");
        } elseif ($this->pattern !== null && $this->regex !== null) {
            $this->setError("Only one of name and regex attribute is allowed");
        }
    }
public function verifySettings ( ) { if ( $ this -> pattern === null && $ this -> regex === null ) { $ this -> setError ( "The name or regex attribute is required" ) ; } elseif ( $ this -> pattern !== null && $ this -> regex !== null ) { $ this -> setError ( "Only one of name and regex attribute is allowed" ) ; } }
Checks to make sure all settings are kosher. In this case, it
means that the name attribute has been set.

{@inheritdoc}

@return void
Checks to make sure all settings are kosher . In this case it means that the name attribute has been set .