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

Public Member Functions

 getPermissions ($record)
 The permissions for this table. Since this is a module we wanted to keep it flexible. The rules are as follows:
 rel_log____field__permissions ($record)
 rel_attachments__permissions ($record)
 beforeInsert ($record)
 Called before a record is inserted into the newsletters table. This sets the posted_by field to the currently logged-in user.
 block__after_form_open_tag ()
 block__before_content_widget ()
 Adds some content to the beginning of the email form to display some instructions and add some interactivity on the form.
 block__before_main_section ()
 section__progress ($record)
 attachments__permissions ($record)
 block__before_main_column ()
 start_time__display ($record)
 end_time__display ($record)
 valuelist__archive_categories ()

Detailed Description

Definition at line 2 of file xataface__email_newsletters.php.

Member Function Documentation

attachments__permissions (   $record)

Definition at line 166 of file xataface__email_newsletters.php.

beforeInsert (   $record)

Called before a record is inserted into the newsletters table. This sets the posted_by field to the currently logged-in user.

Definition at line 106 of file xataface__email_newsletters.php.

block__after_form_open_tag ( )

Definition at line 115 of file xataface__email_newsletters.php.

block__before_content_widget ( )

Adds some content to the beginning of the email form to display some instructions and add some interactivity on the form.

Definition at line 124 of file xataface__email_newsletters.php.

block__before_main_column ( )

Definition at line 175 of file xataface__email_newsletters.php.

block__before_main_section ( )

Definition at line 132 of file xataface__email_newsletters.php.

end_time__display (   $record)

Definition at line 187 of file xataface__email_newsletters.php.

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 21 of file xataface__email_newsletters.php.

rel_attachments__permissions (   $record)

Definition at line 86 of file xataface__email_newsletters.php.

rel_log____field__permissions (   $record)

Definition at line 76 of file xataface__email_newsletters.php.

section__progress (   $record)

Definition at line 137 of file xataface__email_newsletters.php.

start_time__display (   $record)

Definition at line 182 of file xataface__email_newsletters.php.

valuelist__archive_categories ( )

Definition at line 193 of file xataface__email_newsletters.php.


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