1 | <?php |
||
12 | class YRC extends Object |
||
13 | { |
||
14 | /** |
||
15 | * The user class |
||
16 | * @var string |
||
17 | */ |
||
18 | public $userClass; |
||
19 | |||
20 | /** |
||
21 | * The email address that emails should be sent from |
||
22 | * @var string |
||
23 | */ |
||
24 | public $fromEmail; |
||
25 | |||
26 | /** |
||
27 | * Whether or not we should really send emails |
||
28 | * @var boolean |
||
29 | */ |
||
30 | public $realSend = true; |
||
31 | |||
32 | /** |
||
33 | * Send an email using the provided viewfile and parameters |
||
34 | * @param string $viewFile |
||
35 | * @param string $subject |
||
36 | * @param string $email |
||
37 | * @param array $params |
||
38 | * @return boolean |
||
39 | */ |
||
40 | public function sendEmail($viewFile, $subject, $email, array $params = []) |
||
68 | } |