...
|
...
|
@@ -24,11 +24,6 @@ class Table |
|
|
|
|
|
public $options = array();
|
|
|
|
|
|
/**
|
|
|
* @var array
|
|
|
*/
|
|
|
private $attributes = array();
|
|
|
|
|
|
private $whereList = array();
|
|
|
|
|
|
private $orderByList = array();
|
...
|
...
|
@@ -274,11 +269,19 @@ class Table |
|
|
return $this->db()->fetchRow($this->_getSql($_columns), $this->parameterMap);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @param $name
|
|
|
* @param $value
|
|
|
*/
|
|
|
public function __set($name, $value)
|
|
|
{
|
|
|
$this->parameterMap[$name] = $value;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @param $name
|
|
|
* @return mixed|null
|
|
|
*/
|
|
|
public function __get($name)
|
|
|
{
|
|
|
if (isset($this->parameterMap[$name])) {
|
...
|
...
|
|