コード例 #1
0
ファイル: Functions.php プロジェクト: hostellerie/nexpro
 /**
  * Set the Compatibility Mode
  *
  * @param	 string		$compatibilityMode		Compatibility Mode
  * @return	 boolean	(Success or Failure)
  */
 public static function setCompatibilityMode($compatibilityMode)
 {
     if ($compatibilityMode == self::COMPATIBILITY_EXCEL || $compatibilityMode == self::COMPATIBILITY_GNUMERIC || $compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
         self::$compatibilityMode = $compatibilityMode;
         return True;
     }
     return False;
 }