{'_'.$property}) ? $this->{'_'.$property} : NULL; } public function remove_evil_attributes($str, $is_image) { return $this->_remove_evil_attributes($str, $is_image); } // Override inaccessible protected method public function __call($method, $params) { if (is_callable(array($this, '_'.$method))) { return call_user_func_array(array($this, '_'.$method), $params); } throw new BadMethodCallException('Method '.$method.' was not found'); } }