Public Attributes | Protected Attributes

MailTemplate Class Reference

Mail template for email. More...

Inheritance diagram for MailTemplate:
BeditaContentModel BEAppObjectModel BEAppModel AppModel

List of all members.

Public Attributes

 $useTable = 'mail_messages'
 $searchFields = array()
 $actsAs
 $hasOne

Protected Attributes

 $modelBindings

Detailed Description

Mail template for email.

Definition at line 25 of file mail_template.php.


Member Data Documentation

MailTemplate::$actsAs
Initial value:
 array(
        'ForeignDependenceSave' => array('Content')
    )

Reimplemented from BEAppObjectModel.

Definition at line 31 of file mail_template.php.

MailTemplate::$hasOne
Initial value:
 array(
        'BEObject' => array(
            'className'     => 'BEObject',
            'conditions'   => '',
            'foreignKey'    => 'id',
            'dependent'     => true
        ),
        'Content' => array(
            'className'     => 'Content',
            'conditions'   => '',
            'foreignKey'    => 'id',
            'dependent'     => true
        )
    )

Reimplemented from BEAppObjectModel.

Definition at line 35 of file mail_template.php.

MailTemplate::$modelBindings [protected]
Initial value:
 array(
        'detailed' => array(
            'BEObject' => array(
                'ObjectType',
                'UserCreated',
                'UserModified',
                'Permission',
                'Annotation',
                'Version' => array('User.realname', 'User.userid')
            ),
            'Content'
        ),
        'default' => array(
            'BEObject' => array('ObjectType'),
            'Content'
        ),
        'minimum' => array(
            'BEObject' => array('ObjectType'),
            'Content'
        )
    )

Reimplemented from BEAppModel.

Definition at line 51 of file mail_template.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus