classes/phing/types/selectors/DependSelector.php
public function verifySettings()
    {
        if ($this->targetdir === null) {
            $this->setError("The targetdir attribute is required.");
        }
        if ($this->mapperElement === null) {
            $this->map = new IdentityMapper();
        } else {
            $this->map = $this->mapperElement->getImplementation();
        }
        if ($this->map === null) {
            $this->setError("Could not set <mapper> element.");
        }
    }
public function verifySettings()
    {
        if ($this->targetdir === null) {
            $this->setError("The targetdir attribute is required.");
        }
        if ($this->mapperElement === null) {
            $this->map = new IdentityMapper();
        } else {
            $this->map = $this->mapperElement->getImplementation();
        }
        if ($this->map === null) {
            $this->setError("Could not set <mapper> element.");
        }
    }
public function verifySettings ( ) { if ( $ this -> targetdir === null ) { $ this -> setError ( "The targetdir attribute is required." ) ; } if ( $ this -> mapperElement === null ) { $ this -> map = new IdentityMapper ( ) ; } else { $ this -> map = $ this -> mapperElement -> getImplementation ( ) ; } if ( $ this -> map === null ) { $ this -> setError ( "Could not set <mapper> element." ) ; } }
Checks to make sure all settings are kosher. In this case, it
means that the dest attribute has been set and we have a mapper.
Checks to make sure all settings are kosher . In this case it means that the dest attribute has been set and we have a mapper .