Brimbox Logo Brimbox Version 2.3.4 Released

has_error_messages>>

Method to determine whether messages array contains error messages.

Class: bb_main, called as $main

File: bb_main.php (php)

Declaration:

function has_error_messages($messages)

Usage:

$main->has_error_messages($messages);

Returns: true if $messages has error messages (messages that start with "Error:"), false otherwise.

Parameter: $messages(mixed, string or array)
Array of messages that could contain error messages. Could also be a string which is converted to an array.

Updated: 2016-07-11