category Zend
package Zend_Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Class constructor

__construct(boolean|\Zend_Config $options = true

Parameters

$options

boolean\Zend_Config

Options to set

Defined by Zend_Filter_Interface

filter(string $value) : string

Returns realpath($value)

inherited_from \Zend_Filter_Interface::filter()

Parameters

$value

string

Returns

string

Returns true if the filtered path must exist

getExists() : boolean

Returns

boolean

Sets if the path has to exist TRUE when the path must exist FALSE when not existing paths can be given

setExists(boolean|\Zend_Config $exists) : \Zend_Filter_RealPath

Parameters

$exists

boolean\Zend_Config

Path must exist

Returns

\Zend_Filter_RealPath

 Properties

 

$_exists

$_exists : boolean

Default

true