Hi,

I'am extending Zend_Filter_Input,

Here is some source code:

class Ti_Filter_Input extends Zend_Filter_Input {
        
        function __construct(& $source, $strict = true){
                parent::__construct($source,$strict);
        }
                
        public function noFilter($key){
                if(!$this->keyExists($key)){ //here give errors 
                        return false;
                }
                return Ti_Filter::noFilter($this->_source[$key]);
        }

And now when I'am calling like 
$obj = new Ti_Filter_Input($_POST);
$obj->noFilter('somekey');

It give me some errors like

Call to undefined method Ti_Filter_Input::keyExists()

It seems like Ti_Filter_Input doesn't see Zend_Filter_Input methods, but it
doesn't give any information about Zend_Filter_Input like Zend_Filter_Input
doesn't exist or something.

And the best thing is that, this is only happening when I run PHP (5.1.4) in
CGI mode. When I'm running PHP as a module on my apache - it's all OK.

Anybody see problems like that?

Best regards,
patS


Reply via email to