classes/phing/types/selectors/TypeSelector.php
public function verifySettings()
    {
        if ($this->type === null) {
            $this->setError("The type attribute is required");
        } elseif (!in_array($this->type, self::$types, true)) {
            $this->setError("Invalid type specified; must be one of (" . implode(self::$types) . ")");
        }
    }
public function verifySettings()
    {
        if ($this->type === null) {
            $this->setError("The type attribute is required");
        } elseif (!in_array($this->type, self::$types, true)) {
            $this->setError("Invalid type specified; must be one of (" . implode(self::$types) . ")");
        }
    }
public function verifySettings ( ) { if ( $ this -> type === null ) { $ this -> setError ( "The type attribute is required" ) ; } elseif ( ! in_array ( $ this -> type , self :: $ types , true ) ) { $ this -> setError ( "Invalid type specified; must be one of (" . implode ( self :: $ types ) . ")" ) ; } }
Checks to make sure all settings are kosher. In this case, it
means that the pattern attribute has been set.
Checks to make sure all settings are kosher . In this case it means that the pattern attribute has been set .