Improvements to taxing
This commit is contained in:
@@ -163,6 +163,17 @@ abstract class ORM_OSB extends ORM {
|
||||
return empty($mc[$key]) ? '' : $mc[$key];
|
||||
}
|
||||
|
||||
public function dump() {
|
||||
$result = array();
|
||||
|
||||
$result['this'] = $this->object();
|
||||
|
||||
foreach ($this->_sub_items as $o)
|
||||
$result['sub'][] = $o->dump();
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Next record id
|
||||
*
|
||||
@@ -240,6 +251,10 @@ abstract class ORM_OSB extends ORM {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
public function subitems() {
|
||||
return $this->_sub_items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override the Kohana processing so we can null values if required.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user