modules/project/models/PMailer.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Project_Model_PMailer

Package: Project\Models
Project_Model_PMailer
Author
Evgeniy  

Constants

>VConstant  NOT_SENT = -1
>VConstant  DONE = 0
>VConstant  STOPPED = 96
>VConstant  IN_USE = 99
>VConstant  OVER_QUOTA = 94

Properties

>VPropertyprivate$_db
Details
Type
n/a
>VPropertyprotected$_name = 'projects'
Default value'projects'Details
Type
n/a
>VPropertypublic$_proj_id
Details
Type
n/a
>VPropertyprivate$_schema
Details
Type
n/a

Methods

methodpublic__construct( $proj_id) : void

Parameters
NameTypeDescription
$proj_id
methodpublicgen_link(object $sess, integer $type, boolean $token = false, boolean $popup = false) : \[string

generate ling fow web based surveys

Parameters
NameTypeDescription
$sessobject
$typeinteger
$tokenboolean
$popupboolean
Returns
TypeDescription
\[string
methodpublicgen_link_unsub(object $sess, string $token) : string

Generate link for unsubscript from emails

Parameters
NameTypeDescription
$sessobject
$tokenstring
Returns
TypeDescription
string
methodpublicgenerateEmailBody(object $user, object $sess, string $body) : string

Generate email body from template

Parameters
NameTypeDescription
$userobject
$sessobject
$bodystring
Returns
TypeDescription
string
methodpublicgetEmailsData(array $fields, array $stat = array(), array $vars = array()) : array

Generate email data for maillists

Parameters
NameTypeDescription
$fieldsarray
$statarray
$varsarray
Returns
TypeDescription
array
methodpublicgetIdsByEmails(array $fields) : array

Get sanple file ids form emails

Parameters
NameTypeDescription
$fieldsarray
Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.8.5.