_extractPrecision() protected method

protected _extractPrecision ( string $sqlType ) : integer
$sqlType string
return integer
コード例 #1
0
ファイル: Column.php プロジェクト: jubinpatel/horde
 /**
  * @param   string  $sqlType
  * @return  int
  */
 protected function _extractPrecision($sqlType)
 {
     if (preg_match('/^money/', $sqlType)) {
         return self::$moneyPrecision;
     }
     return parent::_extractPrecision($sqlType);
 }