示例#1
0
 /**
  * set SQL formatting mode
  *
  * @param string $format
  * @return void
  */
 public static function set_sql_format($format)
 {
     if (dbsteward::sql_format_exists($format)) {
         active_sql_format_autoloader::init($format);
         dbsteward::$sql_format = $format;
     } else {
         throw new exception("Unknown SQL format mode: " . $format);
     }
 }