cn=$p_cn; } /** *@brief get the parameters */ function get_request() { parent::get_request(); $http=new HttpInput(); $this->card_poste=$http->get('card_poste',"string",1); } function set_sql_filter() { $sql=""; $and=" and "; if ( $this->from != "" && $this->from=isDate($this->from) ) { $sql.="$and oa_date >= to_date('".$this->from."','DD.MM.YYYY')"; } if ( $this->to != "" && $this->to=isDate($this->to)) { $sql.=" $and oa_date <= to_date('".$this->to."','DD.MM.YYYY')"; } return $sql; } }