public function set($var, $val) { if ($var) { foreach ($this->_items as $item) { $item->{$var} = $val; } } return $this; }