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