page. * * If no value is specified the component property * named $var is set as value. * * @param $var * @param null $value */ protected function setVar($var, $value = null) { if ($value === null) { $value = $this->property($var); } $this->{$var} = $this->page[$var] = $value; } }