コード例 #1
0
ファイル: PhpMath.php プロジェクト: vojtajina/sitellite
 public static function disable()
 {
     self::$_bcmathDisabled = true;
     self::$add = 'Zend_Locale_Math_Add';
     self::$sub = 'Zend_Locale_Math_Sub';
     self::$pow = 'Zend_Locale_Math_Pow';
     self::$mul = 'Zend_Locale_Math_Mul';
     self::$div = 'Zend_Locale_Math_Div';
     self::$comp = 'Zend_Locale_Math_Comp';
     self::$sqrt = 'Zend_Locale_Math_Sqrt';
     self::$mod = 'Zend_Locale_Math_Mod';
     self::$scale = 'Zend_Locale_Math_Scale';
 }
コード例 #2
0
ファイル: PhpMath.php プロジェクト: jorgenils/zend-framework
 public static function disable()
 {
     self::$_bcmathDisabled = true;
     self::$add   = array('Zend_Locale_Math_PhpMath', 'Add');
     self::$sub   = array('Zend_Locale_Math_PhpMath', 'Sub');
     self::$pow   = array('Zend_Locale_Math_PhpMath', 'Pow');
     self::$mul   = array('Zend_Locale_Math_PhpMath', 'Mul');
     self::$div   = array('Zend_Locale_Math_PhpMath', 'Div');
     self::$comp  = array('Zend_Locale_Math_PhpMath', 'Comp');
     self::$sqrt  = array('Zend_Locale_Math_PhpMath', 'Sqrt');
     self::$mod   = array('Zend_Locale_Math_PhpMath', 'Mod');
     self::$scale = array('Zend_Locale_Math_PhpMath', 'Scale');
 }