public function setExists($exists)
    {
        if ($exists instanceof Zend_Config) {
            $exists = $exists->toArray();
        }

        if (is_array($exists)) {
            if (isset($exists['exists'])) {
                $exists = (boolean) $exists['exists'];
            }
        }

        $this->_exists = (boolean) $exists;
        return $this;
    }
public function setExists($exists)
    {
        if ($exists instanceof Zend_Config) {
            $exists = $exists->toArray();
        }

        if (is_array($exists)) {
            if (isset($exists['exists'])) {
                $exists = (boolean) $exists['exists'];
            }
        }

        $this->_exists = (boolean) $exists;
        return $this;
    }
public function setExists ( $ exists ) { if ( $ exists instanceof Zend_Config ) { $ exists = $ exists -> toArray ( ) ; } if ( is_array ( $ exists ) ) { if ( isset ( $ exists [ 'exists' ] ) ) { $ exists = ( boolean ) $ exists [ 'exists' ] ; } } $ this -> _exists = ( boolean ) $ exists ; return $ this ; }
Sets if the path has to exist
TRUE when the path must exist
FALSE when not existing paths can be given

@param boolean|Zend_Config $exists Path must exist
@return Zend_Filter_RealPath
Sets if the path has to exist TRUE when the path must exist FALSE when not existing paths can be given