elem = $elem;
$this->get_from_form();
}
public function get_from_form(){
$sort = $this->elem['id']."_sort";
global $$sort;
$this->sort = stripslashes($$sort);
}
public function get_form(){
global $msg,$charset;
$order_form= "
";
return $order_form;
}
public function get_params(){
return $this->sort;
}
public function get_sql_filter(){
if($this->sort){
$sql_filter = $this->elem['field']." ".$this->sort;
}
return $sql_filter;
}
}