Working on HOST SERVER and improvements to ORMOSB
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
class Model_Charge extends ORMOSB {
|
||||
// Charge doesnt use the update column
|
||||
protected $_updated_column = FALSE;
|
||||
protected $_serialize_column = array(
|
||||
'attributes',
|
||||
);
|
||||
|
||||
protected $_belongs_to = array(
|
||||
'account'=>array(),
|
||||
@@ -27,14 +30,6 @@ class Model_Charge extends ORMOSB {
|
||||
),
|
||||
);
|
||||
|
||||
public function rules() {
|
||||
return array_merge(parent::rules(),array(
|
||||
'attributes'=>array(
|
||||
array('ORMOSB::serialize_array',array(':model',':field',':value')),
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* Render some details for specific calls, eg: invoice
|
||||
*/
|
||||
|
Reference in New Issue
Block a user