_extractPrecision() protected method

protected _extractPrecision ( string $sqlType ) : integer
$sqlType string
return integer
示例#1
0
 /**
  * @param   string  $sqlType
  * @return  int
  */
 protected function _extractPrecision($sqlType)
 {
     if (preg_match('/^money/', $sqlType)) {
         return self::$moneyPrecision;
     }
     return parent::_extractPrecision($sqlType);
 }