Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

exception.php
Go to the documentation of this file.
1 <?php
19 class eZDBException extends ezcBaseException
20 {
24 public $originalMessage;
25
32 public function __construct( $message, $code = 0 )
33 {
34 $this->originalMessage = $message;
35 $this->code = $code;
36
37 if ( php_sapi_name() == 'cli' )
38 {
39 $this->message = $message;
40 }
41 else
42 {
43 $this->message = htmlspecialchars( $message, ENT_QUOTES, 'UTF-8' );
44 }
45 }
46 }
47 ?>
$message
$message
Definition: admin/message.php:51
eZDBException
Definition: exception.php:20
eZDBException\$originalMessage
$originalMessage
Definition: exception.php:24
eZDBException\__construct
__construct( $message, $code=0)
Definition: exception.php:32
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.