31 lines
658 B
PHP
31 lines
658 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 {
|
|
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;
|
|
}
|
|
?>
|