Tripal
Functions | Variables
tripal.notice.api.inc File Reference

Functions

 tripal_report_error ($type, $severity, $message, $variables=[], $options=[])
 
 tripal_set_message ($message, $importance=TRIPAL_INFO, $options=[])
 
 tripal_log ($message, $type='error', $options=[])
 

Variables

const TRIPAL_CRITICAL 2
 
const TRIPAL_ERROR 3
 
const TRIPAL_WARNING 4
 
const TRIPAL_NOTICE 5
 
const TRIPAL_INFO 6
 
const TRIPAL_DEBUG 7
 

Detailed Description

Provides an application programming interface (API) for improved user notifications. These API functions can be used to set messages for end-users, administrators, or simple logging.