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/product/classes/Model/Product/Translate.php
2016-04-18 21:01:53 +10:00

31 lines
662 B
PHP

<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class product access to product translation.
*
* @package Product
* @category Models
* @author Deon George
* @copyright (c) 2009-2013 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
class Model_Product_Translate extends ORM_OSB {
protected $_created_column = FALSE;
protected $_updated_column = FALSE;
protected $_belongs_to = array(
'product'=>array(),
);
protected $_has_one = array(
'language'=>array('foreign_key'=>'id'),
);
protected $_compress_column = array(
'description_full',
);
protected $_save_message = TRUE;
}
?>