/** * Returns realpath(value). * * @param mixed $key * @return mixed */ public function getPath($key) { return Zend_Filter::getPath($this->_source[$key]); }
/** * Returns realpath(value). * * @param mixed $key * @return mixed */ public function getPath($key) { if (!$this->keyExists($key)) { return false; } return Zend_Filter::getPath($this->_source[$key]); }
/** * Returns realpath(value). * * @param mixed $key * @return mixed */ public function getPath($key = null) { if (!($value = $this->keyExists($key))) { return false; } return Zend_Filter::getPath($value); }