Commit e5539809 authored by Laurent's avatar Laurent

add getter and setter for volatile table

parent 4afb442b
......@@ -43,10 +43,10 @@ class Storm_Model_PersistenceStrategy_Db extends Storm_Model_PersistenceStrategy
}
public function setTable($tbl) {
$this->_table = $tbl;
return $this;
}
......
......@@ -26,9 +26,23 @@ THE SOFTWARE.
class Storm_Model_PersistenceStrategy_Volatile extends Storm_Model_PersistenceStrategy_Abstract {
protected $_instances = [];
protected $desc_order=false;
protected $special_select_fields = ['order', 'limit', 'limitpage', 'where'];
protected
$_instances = [],
$desc_order=false,
$special_select_fields = ['order', 'limit', 'limitpage', 'where'],
$_table;
public function getTable() {
return $this->_table;
}
public function setTable($tbl) {
$this->_table = $tbl;
return $this;
}
public function findAll($select = null) {
if (null === $filtered_select = $this->extractRoleAndModel(is_array($select)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment