root/trunk/apps/main/modules/mail/actions/actions.class.php

Revision 2, 1.4 kB (checked in by nperriault, 2 years ago)

First commit of the extracted code from production, I hope no passwd has been forgotten :-)

Line 
1 <?php
2 /**
3  * mail actions.
4  *
5  * @package    symfonians
6  * @subpackage mail
7  */
8 class mailActions extends myActions
9 {
10  
11   public function executeContact()
12   {
13     $this->message = $this->getRequest()->getAttribute('message');
14   }
15  
16   public function executeForgotPassword()
17   {
18     $this->password = $this->getRequest()->getAttribute('password');
19   }
20  
21   public function executeRegister()
22   {
23     $this->user = $this->getRequest()->getAttribute('user');
24     $this->activation = $this->getRequest()->getAttribute('activation');
25   }
26  
27   public function executeResendActivation()
28   {
29     $this->activation = $this->getRequest()->getAttribute('activation');
30   }
31  
32   public function executeCompanyContact()
33   {
34     $this->user = $this->getUser()->getGuardUser();
35     $this->message = $this->getRequest()->getAttribute('message');
36     $this->company = $this->getRequest()->getAttribute('company');
37   }
38  
39   public function executePersonContact()
40   {
41     $this->user = $this->getUser()->getGuardUser();
42     $this->recipient = $this->getRequest()->getAttribute('recipient');
43     $this->message = $this->getRequest()->getAttribute('message');
44   }
45  
46   public function executeRecommendationReceived()
47   {
48     $this->recommender = $this->getRequest()->getAttribute('recommender');
49     $this->recommended = $this->getRequest()->getAttribute('recommended');
50     $this->recommendation = $this->getRequest()->getAttribute('recommendation');
51   }
52  
53 }
54
Note: See TracBrowser for help on using the browser.