original_string: public static function raise($type, $message, $jname = '') {
  		if (is_array($message)) {
  			foreach ($message as $msgtype => $msg) {
  				//if still an array implode for nicer display
  				if (is_numeric($msgtype)) {
  					$msgtype = $jname;
  				}
  				static::raise($type, $msg, $msgtype);
  			}
  		} else {
  			$app = Application::getInstance();
  			if ($message instanceof Exception) {
  				$message = $message->getMessage();
  			}
  			if (!empty($jname)) {
  				$message = $jname . ': ' . $message;
  			}
  			$app->enqueueMessage($message, strtolower($type));
  		}
  	}
code: public static function raise($type, $message, $jname = '') {
  		if (is_array($message)) {
  			foreach ($message as $msgtype => $msg) {
  				//if still an array implode for nicer display
  				if (is_numeric($msgtype)) {
  					$msgtype = $jname;
  				}
  				static::raise($type, $msg, $msgtype);
  			}
  		} else {
  			$app = Application::getInstance();
  			if ($message instanceof Exception) {
  				$message = $message->getMessage();
  			}
  			if (!empty($jname)) {
  				$message = $jname . ': ' . $message;
  			}
  			$app->enqueueMessage($message, strtolower($type));
  		}
  	}
code_tokens: public static function raise ( $ type , $ message , $ jname = '' ) { if ( is_array ( $ message ) ) { foreach ( $ message as $ msgtype => $ msg ) { //if still an array implode for nicer display if ( is_numeric ( $ msgtype ) ) { $ msgtype = $ jname ; } static :: raise ( $ type , $ msg , $ msgtype ) ; } } else { $ app = Application :: getInstance ( ) ; if ( $ message instanceof Exception ) { $ message = $ message -> getMessage ( ) ; } if ( ! empty ( $ jname ) ) { $ message = $ jname . ': ' . $ message ; } $ app -> enqueueMessage ( $ message , strtolower ( $ type ) ) ; } }
docstring: Raise warning function that can handle arrays
  
  @param        $type
  @param array|string|Exception  $message   message itself
  @param string $jname
  
  @return string nothing
docstring_tokens: Raise warning function that can handle arrays