CCommonObject(COMMON_TABLE,"common_id",$id); $this -> setDefaultParameters(); } function setDefaultParameters() { //define parameters for this object $parameters["common_id"] = array("control"=>"hidden", "optional"=>false, "formValue"=> $this->common_id, "mainCommonParam"=>true); $parameters["common_title"] = array("control"=>"text", "size" => 53, "maxsize" => 255, "optional"=>false, "comment"=>" ", "formValue"=> $this->common_title, "mainCommonParam"=>true,"label"=>"Название этого раздела"); $parameters["common_footer"] = array("control"=>"wisiwyg", "width"=>"100%", "height"=>400, "optional"=>true, "comment"=>"", "formValue"=> $this->common_footer, "mainCommonParam"=>true,"label"=>"Подвал"); $parameters["email_1"] = array("control"=>"text", "size" => 53, "maxsize" => 255, "optional"=>true, "comment"=>" ", "formValue"=> $this->email_1, "mainCommonParam"=>true,"label"=>"e-mail 1"); $parameters["email_2"] = array("control"=>"text", "size" => 53, "maxsize" => 255, "optional"=>true, "comment"=>" ", "formValue"=> $this->email_2, "mainCommonParam"=>true,"label"=>"e-mail 2"); $parameters["email_3"] = array("control"=>"text", "size" => 53, "maxsize" => 255, "optional"=>true, "comment"=>" ", "formValue"=> $this->email_3, "mainCommonParam"=>true,"label"=>"e-mail 3"); $parameters["email_4"] = array("control"=>"text", "size" => 53, "maxsize" => 255, "optional"=>true, "comment"=>" ", "formValue"=> $this->email_4, "mainCommonParam"=>true,"label"=>"e-mail 4"); $parameters["email_5"] = array("control"=>"text", "size" => 53, "maxsize" => 255, "optional"=>true, "comment"=>" ", "formValue"=> $this->email_5, "mainCommonParam"=>true,"label"=>"e-mail 5"); $this -> parameters = $parameters; } } //class } //if !defined ?> Fatal error: Class 'CCommonParam' not found in /home/g/groupihg/inharmony.ru/public_html/template/fill_common.php on line 375