getTypes() public static method

Return all available message types
public static getTypes ( ) : array
return array An array of message types
Exemplo n.º 1
0
 /**
  * Return all available message types
  *
  * @return array An array of message types
  *
  * @deprecated Deprecated since Contao 4.0, to be removed in Contao 5.0.
  *             Use Message::getTypes() instead.
  */
 protected function getMessageTypes()
 {
     @trigger_error('Using System::getMessageTypes() has been deprecated and will no longer work in Contao 5.0. Use Message::getTypes() instead.', E_USER_DEPRECATED);
     return \Message::getTypes();
 }