31 lines
669 B
PHP
31 lines
669 B
PHP
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||
|
|
||
|
/**
|
||
|
* This class supports AER Translated Text.
|
||
|
*
|
||
|
* @package AER
|
||
|
* @category Models
|
||
|
* @author Deon George
|
||
|
* @copyright (c) 2014 Deon George
|
||
|
* @license http://dev.leenooks.net/license.html
|
||
|
*/
|
||
|
class Model_Translate extends ORM_OSB {
|
||
|
// Relationships
|
||
|
protected $_belongs_to = array(
|
||
|
);
|
||
|
protected $_has_one = array(
|
||
|
);
|
||
|
|
||
|
protected $_form = array('id'=>'id','value'=>'translation');
|
||
|
|
||
|
/**
|
||
|
* Filters used to format the display of values into friendlier values
|
||
|
*/
|
||
|
protected $_display_filters = array(
|
||
|
'date_orig'=>array(
|
||
|
array('Config::datetime',array(':value')),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
?>
|