interface PuSHSubscriberEnvironmentInterface in Feeds 6
Same name and namespace in other branches
- 7.2 libraries/PuSHSubscriber.inc \PuSHSubscriberEnvironmentInterface
- 7 libraries/PuSHSubscriber.inc \PuSHSubscriberEnvironmentInterface
Implement to provide environmental functionality like user messages and logging.
Hierarchy
- interface \PuSHSubscriberEnvironmentInterface
Expanded class hierarchy of PuSHSubscriberEnvironmentInterface
All classes that implement PuSHSubscriberEnvironmentInterface
File
- libraries/
PuSHSubscriber.inc, line 370 - Pubsubhubbub subscriber library.
View source
interface PuSHSubscriberEnvironmentInterface {
/**
* A message to be displayed to the user on the current page load.
*
* @param $msg
* A string that is the message to be displayed.
* @param $level
* A string that is either 'status', 'warning' or 'error'.
*/
public function msg($msg, $level = 'status');
/**
* A log message to be logged to the database or the file system.
*
* @param $msg
* A string that is the message to be displayed.
* @param $level
* A string that is either 'status', 'warning' or 'error'.
*/
public function log($msg, $level = 'status');
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PuSHSubscriberEnvironmentInterface:: |
public | function | A log message to be logged to the database or the file system. | 1 |
PuSHSubscriberEnvironmentInterface:: |
public | function | A message to be displayed to the user on the current page load. | 1 |