require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php'; require_once NOALYSS_INCLUDE.'/class/database.class.php'; /** * class_contact_option_ref_sql.php * * @file * @brief abstract of the table public.contact_option_ref */ class Contact_option_ref_SQL extends Noalyss_SQL { function __construct(DatabaseCore $p_cn, $p_id=-1) { $this->table="public.contact_option_ref"; $this->primary_key="cor_id"; /* * List of columns */ $this->name=array( "cor_id"=>"cor_id" , "cor_label"=>"cor_label" , "cor_type"=>"cor_type" , "cor_value_select"=>"cor_value_select" ); /* * Type of columns */ $this->type=array( "cor_id"=>"numeric" , "cor_label"=>"text" , "cor_type"=>"numeric" , "cor_value_select"=>"text" ); $this->default=array( "cor_id"=>"auto" ); $this->date_format="DD.MM.YYYY"; parent::__construct($p_cn, $p_id); } }