Xataface Email Module 0.2
Email/Mailmerge Module for Xataface
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)
 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)
 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

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

block__after_form_open_tag ( )

Definition at line 99 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 108 of file xataface__email_newsletters.php.

block__before_main_column ( )

Definition at line 150 of file xataface__email_newsletters.php.

block__before_main_section ( )

Definition at line 116 of file xataface__email_newsletters.php.

end_time__display ( record)

Definition at line 162 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_log____field__permissions ( record)

Definition at line 76 of file xataface__email_newsletters.php.

section__progress ( record)

Definition at line 121 of file xataface__email_newsletters.php.

start_time__display ( record)

Definition at line 157 of file xataface__email_newsletters.php.

valuelist__archive_categories ( )

Definition at line 168 of file xataface__email_newsletters.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations