Minor internal fixes
This commit is contained in:
@@ -333,6 +333,10 @@ abstract class lnApp_ORM extends Kohana_ORM {
|
||||
return $this->_sub_items;
|
||||
}
|
||||
|
||||
public function subitem_add(Model $item) {
|
||||
array_push($this->_sub_items,$item);
|
||||
}
|
||||
|
||||
/**
|
||||
* Override the Kohana processing so we can null values if required.
|
||||
* We override this function, because we do set our own primary key value
|
||||
|
Reference in New Issue
Block a user