Source of file Email.php
Size: 1,146 Bytes - Last Modified: 2022-02-21T10:00:43+00:00
/var/www/docs.ssmods.com/process/src/src/model/Email.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 | <?php namespace AdrHumphreys\MailSaver\Model; use SilverStripe\ORM\DataObject; /** * Class Email * @package AdrHumphreys\MailSaver\Models * @property string From * @property string To * @property string Subject * @property string Body * @property string CC * @property string BCC * @property string ReturnPath * @property string PlainBody */ class Email extends DataObject { /** * @var array|string[] */ private static $db = [ 'From' => 'Varchar(256)', 'To' => 'Text', 'Subject' => 'Text', 'Body' => 'Text', 'CC' => 'Text', 'BCC' => 'Text', 'ReturnPath' => 'Text', 'PlainBody' => 'Text' ]; private static $summary_fields = [ 'From', 'To', 'Subject', 'Created' ]; /** * @var string */ private static $table_name = 'MailSaver_Email'; /** * @var string */ private static $singular_name = 'Email'; /** * @var string */ private static $plural_name = 'Emails'; /** * @var string */ private static $menu_icon_class = 'font-icon-box'; } |