Beispiel #1
0
 /**
  * Will output an error screen, same as the one rendered by the error handler, with some defaults. This method, named as so is
  * used if an 'mysql'_error () happens so that we can output a specific SQL error, including the SQL error string, the query string
  * and the resulting error message;
  *
  * @return void Will not return a thing, but echo an error screen
  * @author Catalin Z. Alexandru <*****@*****.**>
  * @copyright Under the terms of the GNU General Public License v3
  * @version $Id: 11_SQL.php 313 2009-10-09 13:27:52Z catalin.zamfir $
  * @since Version 1.0
  * @access protected
  * @static
  */
 protected static function renderSQLScreenOfDeath()
 {
     parent::renderScreenOfDeath(new S(__CLASS__), new S(FATAL_ERROR), new S(FATAL_ERROR_CHECK_LOG), new S(mysql_error()));
 }