function getGlobalMessages($type) { return Message::getAllLatestGlobal($type); }
function getGlobalMessages() { $messages = Message::getAllLatestGlobal(); return $messages; }