PMA\libraries\Message::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $string = '', integer $number = Message::NOTICE, array $params = [], integer $sanitize = Message::SANITIZE_NONE )
$string string The message to be displayed
$number integer A numeric representation of the type of message
$params array An array of parameters to use in the message
$sanitize integer A flag to indicate what to sanitize, see constant definitions above
    public function __construct($string = '', $number = Message::NOTICE, $params = array(), $sanitize = Message::SANITIZE_NONE)
    {
        $this->setString($string, $sanitize & Message::SANITIZE_STRING);
        $this->setNumber($number);
        $this->setParams($params, $sanitize & Message::SANITIZE_PARAMS);
    }