This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/email/classes/Model/Email/Template.php

31 lines
728 B
PHP
Raw Normal View History

2010-11-29 22:41:08 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
*
2013-03-19 22:35:19 +00:00
* @package Email
2010-11-29 22:41:08 +00:00
* @category Models
* @author Deon George
2013-03-19 22:35:19 +00:00
* @copyright (c) 2009-2013 Open Source Billing
* @license http://dev.osbill.net/license.html
2010-11-29 22:41:08 +00:00
*/
class Model_Email_Template extends ORM_OSB {
2010-11-29 22:41:08 +00:00
protected $_has_many = array(
2011-08-26 02:01:45 +00:00
'email_template_translate'=>array('foreign_key'=>'email_template_id','far_key'=>'id'),
2010-11-29 22:41:08 +00:00
);
// This module doesnt keep track of column updates automatically
protected $_created_column = FALSE;
protected $_updated_column = FALSE;
protected $_sorting = array(
'name'=>'ASC',
);
2011-08-16 02:27:19 +00:00
protected $_display_filters = array(
2012-08-01 12:43:33 +00:00
'status'=>array(
array('StaticList_YesNo::get',array(':value')),
2011-08-16 02:27:19 +00:00
),
);
2010-11-29 22:41:08 +00:00
}
?>