public function setCaption($name) { $this->columns[$this->last_column]['descr'] = $name; return $this; }