Working on HOST SERVER and improvements to ORMOSB

This commit is contained in:
Deon George
2012-06-27 00:28:18 +10:00
parent f50bea38a3
commit a0e1714358
24 changed files with 1007 additions and 645 deletions

View File

@@ -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
*/