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

31 lines
658 B
PHP
Raw Permalink Normal View History

2013-10-10 02:44:53 +00:00
<?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 {
2013-07-05 06:11:37 +00:00
protected $_created_column = FALSE;
2013-10-10 02:44:53 +00:00
protected $_updated_column = FALSE;
protected $_belongs_to = array(
'product'=>array(),
);
2013-11-28 06:41:34 +00:00
protected $_has_one = array(
'language'=>array('foreign_key'=>'id'),
);
2014-08-25 04:41:07 +00:00
protected $_compress_column = array(
'description_full',
);
protected $_save_message = TRUE;
2013-10-10 02:44:53 +00:00
}
?>