예제 #1
0
/**
 * Retrieve the messages and optionally clear the message stack.
 *
 * @param bool $returnSorted Set to true to sort the message by message type
 * @param bool $clearStack   Set to false to NOT clear the message stack
 *
 * @return array
 */
function get_messages($returnSorted = FALSE, $clearStack = TRUE){
	return \Core::GetMessages($returnSorted, $clearStack);
}