Esempio n. 1
0
 /**
  * Checks whether the static options have been initialized, and if not it
  * creates a new options class and assigns it to the options statick
  * property.
  *
  * Usually the option object is initialized in the constructor, but that of
  * course does not work for static classes.
  */
 private static function initOptions()
 {
     if (!ezcDbSchema::$options) {
         ezcDbSchema::$options = new ezcDbSchemaOptions();
     }
 }