Ejemplo n.º 1
0
 /**
  * Prints a warning to the debug console.
  *
  * @static
  * @internal
  * @param String $text The warning message.
  */
 public static function warning($text)
 {
     if (!self::$_optWarnings) {
         Opl_Debug_Console::addTable('opt_warnings', 'OPT: Warnings', array('Message'));
     }
     Opl_Debug_Console::addTableItem('opt_warnings', array($text));
 }