Make set_data_file() chainable.

This commit is contained in:
Bharat Mediratta
2010-01-17 20:02:30 -08:00
parent afb7decb00
commit 39bb08db28
+2
View File
@@ -169,9 +169,11 @@ class Item_Model extends ORM_MPTT {
/**
* Specify the path to the data file associated with this item. To actually associate it,
* you still have to call save().
* @chainable
*/
public function set_data_file($data_file) {
$this->data_file = $data_file;
return $this;
}
/**