Overview

Packages

  • Folks
  • None

Classes

  • Folks
  • Folks_Activity_Form
  • Folks_Api
  • Folks_Application
  • Folks_Block_Activities
  • Folks_Block_Friends
  • Folks_Block_Know
  • Folks_Block_New
  • Folks_Block_Random
  • Folks_Block_Recent
  • Folks_Driver
  • Folks_Driver_sql
  • Folks_Friends
  • Folks_Friends_application
  • Folks_Friends_facebook
  • Folks_Friends_prefs
  • Folks_Friends_shared
  • Folks_Friends_sql
  • Folks_Login_Form
  • Folks_Notification
  • Folks_Notification_facebook
  • Folks_Notification_letter
  • Folks_Notification_mail
  • Folks_Notification_tickets
  • Folks_Search_Form
  • Overview
  • Package
  • Class
  • Tree

Class Folks_Notification_mail

Folks Notification Class.

Copyright Obala d.o.o. (www.obala.si)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Folks_Notification
Extended by Folks_Notification_mail
Package: Folks
Author: Duck duck@obala.net
Located at Notification/mail.php
Methods summary
public
# getName( )

Returns method human name

Returns method human name

public boolean
# isAvailable( string $type )

Checks if a driver is available for a certain notification type

Checks if a driver is available for a certain notification type

Parameters

$type
Notification type

Returns

boolean
public true
# notify( mixed $user, string $subject, string $body, array $attachments = array() )

Notify user

Notify user

Parameters

$user
User or array of users to send notification to
$subject
Subject of message
$body
Body of message
$attachments
Attached files

Returns

true
on succes, PEAR_Error on failure
public true
# notifyFriends( mixed $user, string $subject, string $body, array $attachments = array() )

Notify user's friends

Notify user's friends

Parameters

$user
User or array of users to send notification to
$subject
Subject of message
$body
Body of message
$attachments
Attached files

Returns

true
on succes, PEAR_Error on failure
Methods inherited from Folks_Notification
__construct(), getAdmins(), getMethods(), notifyAdmins(), notifyAll(), notifyAllFriends(), singleton()
API documentation generated by ApiGen