public function actions($actions = 'edit|delete') { if (!is_null($this->actions)) { return $this->actions; } $this->actions = new Action($actions); $this->actions->setRow($this); return $this->actions; }