Public Member Functions | |
document_type ($p_cn) | |
constructor | |
get () | |
Get all the data for this dt_id. |
Definition at line 29 of file class_document_type.php.
|
constructor document_type
Definition at line 35 of file class_document_type.php. References dt_id. 00036 { 00037 $this->db=$p_cn; 00038 $this->dt_id=-1; 00039 }
|
|
Get all the data for this dt_id.
Definition at line 43 of file class_document_type.php. References $r, $sql, dt_id, and ExecSql(). 00044 { 00045 $sql="select * from document_type where dt_id=".$this->dt_id; 00046 $R=ExecSql($this->db,$sql); 00047 $r=pg_fetch_array($R,0); 00048 $this->dt_id=$r['dt_id']; 00049 $this->dt_value=$r['dt_value']; 00050 }
|