Xataface Email Module  0.3.2
Email/Mailmerge Module for Xataface
 All Data Structures Files Functions Variables Pages
Public Member Functions
tables_xataface__email_attachments Class Reference

Public Member Functions

 init ($table)
 getPermissions ($record)
 The permissions for this table. Since this is a module we wanted to keep it flexible. The rules are as follows:

Detailed Description

Definition at line 2 of file xataface__email_attachments.php.

Member Function Documentation

getPermissions (   $record)

The permissions for this table. Since this is a module we wanted to keep it flexible. The rules are as follows:

  1. If the current table is the newsletters table, then it only allows read only access to the user that posted the message. Other users get no access.
  2. If the current table is another table we grant the "new" permission if the user has the "email" permission for the current table. This allows the user to use the new record form that is displayed in the email action.

Definition at line 42 of file xataface__email_attachments.php.

init (   $table)

Definition at line 5 of file xataface__email_attachments.php.


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