[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/message/ -> renderer.php (summary)

Contains renderer objects for messaging

Copyright: 2011 Lancaster University Network Services Limited
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 401 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_message_renderer:: (3 methods):
  manage_messageoutputs()
  manage_defaultmessageoutputs()
  manage_messagingoptions()


Class: core_message_renderer  - X-Ref

message Renderer

Class for rendering various message objects

manage_messageoutputs($processors)   X-Ref
Display the interface to manage message outputs

param: array  $processors array of objects containing message processors
return: string The text to render

manage_defaultmessageoutputs($processors, $providers, $preferences)   X-Ref
Display the interface to manage default message outputs

param: array $processors  array of objects containing message processors
param: array $providers   array of objects containing message providers
param: array $preferences array of objects containing current preferences
return: string The text to render

manage_messagingoptions($processors, $providers, $preferences, $defaultpreferences,$notificationsdisabled = false, $userid = null)   X-Ref
Display the interface for messaging options

param: array $processors Array of objects containing message processors
param: array $providers Array of objects containing message providers
param: array $preferences Array of objects containing current preferences
param: array $defaultpreferences Array of objects containing site default preferences
param: bool $notificationsdisabled Indicate if the user's "emailstop" flag is set (shouldn't receive any non-forced notifications)
param: null|int $userid User id, or null if current user.
return: string The text to render



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1