コード例 #1
0
 function get_db_type()
 {
     if (empty($this->len)) {
         return parent::get_db_type();
     }
     $precision = !empty($this->precision) ? $this->precision : 6;
     return " " . sprintf($GLOBALS['db']->getColumnType("decimal_tpl"), $this->len, $precision);
 }
コード例 #2
0
 function TemplateDecimal()
 {
     parent::__construct();
 }
コード例 #3
0
 function get_field_def()
 {
     $def = parent::get_field_def();
     return $def;
 }