MailGroup Class Reference

Mail group object. More...

Inheritance diagram for MailGroup:

BEAppModel AppModel

List of all members.

Public Member Functions

 getGroupsByArea ($area_id=null, $card_id=null, $message_id=null)
 get mail groups divided by area
 getPublicationUrlByGroup ($mail_group_id)

Public Attributes

 $belongsTo = array("Area")
 $hasAndBelongsToMany

Protected Attributes

 $modelBindings


Detailed Description

Mail group object.

Version:
Revision
2350
Modified By:
LastChangedBy
dante
Last Modified: $LastChangedDate
LastChangedDate
2009-10-09 17:02:38 +0200 (ven, 09 ott 2009)

Id
mail_group.php 2350 2009-10-09 15:02:38Z dante

Definition at line 31 of file mail_group.php.


Member Function Documentation

MailGroup.getGroupsByArea ( area_id = null,
card_id = null,
message_id = null 
)

get mail groups divided by area

Parameters:
int $area_id, if it's defined, filter by area_id
int $address_id, if it's defined, filter by address_id
int $message_id, if it's defined, filter by message_id
Returns:
array

Definition at line 61 of file mail_group.php.


Member Data Documentation

MailGroup.$hasAndBelongsToMany

Initial value:

 array(

                        "Card" => array(
                                "joinTable"     => "mail_group_cards",
                                "with" => "MailGroupCard"
                        ),
                        
                        "MailMessage" => array("joinTable" => "mail_group_messages")
        
                )

Definition at line 36 of file mail_group.php.

MailGroup.$modelBindings [protected]

Initial value:

 array( 
                                "detailed" => array("Area", "Card", "MailMessage"),
                                "default" => array("Area"),
                                "minimum" => array()            
        )

Reimplemented from BEAppModel.

Definition at line 47 of file mail_group.php.


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

Generated on Tue Jan 12 15:45:36 2010  BEditaBEdita 3.0.1 betula