XOOPS  2.6.0
NotificationsNotification Class Reference
Inheritance diagram for NotificationsNotification:
Inheritance graph

Public Member Functions

 __construct ()
 
 notifyUser ($template_dir, $template, $subject, $tags)
 
- Public Member Functions inherited from Xoops\Core\Kernel\XoopsObject
 assignVar ($key, $value)
 
 assignVars ($var_arr)
 
 cleanVars ($quote=true)
 
 destroyVars ($var)
 
 getErrors ()
 
 getHtmlErrors ()
 
 getValues ($keys=null, $format= 's', $maxDepth=1)
 
 getVar ($key, $format= 's')
 
 getVars ()
 
 initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '')
 
 isDirty ()
 
 isNew ()
 
 loadFilters ($method)
 
 registerFilter ($filtername)
 
 setDirty ()
 
 setErrors ($err_str)
 
 setFormVars ($var_arr=null, $pref= 'xo_', $not_gpc=false)
 
 setNew ()
 
 setVar ($key, $value, $not_gpc=false)
 
 setVars ($var_arr, $not_gpc=false)
 
 toArray ()
 
 unsetDirty ()
 
 unsetNew ()
 
 xoopsClone ()
 

Additional Inherited Members

- Public Attributes inherited from Xoops\Core\Kernel\XoopsObject
 $cleanVars = array()
 
 $plugin_path
 
 $vars = array()
 

Detailed Description

Definition at line 32 of file notification.php.

Constructor & Destructor Documentation

NotificationsNotification::__construct ( )

Constructor

Definition at line 37 of file notification.php.

References Xoops\Core\Kernel\XoopsObject\initVar(), Xoops\Core\Kernel\XOBJ_DTYPE_INT, and Xoops\Core\Kernel\XOBJ_DTYPE_TXTBOX.

Here is the call graph for this function:

Member Function Documentation

NotificationsNotification::notifyUser (   $template_dir,
  $template,
  $subject,
  $tags 
)

Send a notification message to the user

Parameters
string$template_dirTemplate directory
string$templateTemplate name
string$subjectSubject line for notification message
array$tagsArray of substitutions for template variables
Returns
bool true if success, false if error

Definition at line 65 of file notification.php.

References $helper, $member_handler, $notification_handler, $user, $xoops, Notifications\getInstance(), Xoops\Core\Kernel\XoopsObject\getVar(), and Xoops\Core\Kernel\XoopsObject\setVar().

Here is the call graph for this function:


The documentation for this class was generated from the following file: