Blame view

src/lib/models/emailTemplates.php 470 Bytes
ef60cd4d   Administrator   first commit
1
2
3
  <?php
  class emailTemplates extends \Phalcon\Mvc\Model
  {
f7818cdf   Administrator   change request to...
4
5
6
7
8
9
10
11
12
13
14
15
16
  
      public $id;
      public $title;
      public $text;
      public $name;
      public $directory;
      public $event_id;
      public $project_id;
      public $text_type;
      public $header;
      public $dynamic_content;
      public $footer;
  
ef60cd4d   Administrator   first commit
17
18
19
20
21
22
23
24
25
26
      public function getSource()
      {
          return "email_templates";
      }
  
      public function initialize()
      {
          $this->hasOne("event_id", "eventEmail", "id");
      }
  }