/** * @return array */ public function toArray() { return parent::toArray() + ['movableUp' => $this->movableUp(), 'moveUpUrl' => $this->moveUpUrl(), 'movableDown' => $this->movableDown(), 'moveDownUrl' => $this->moveDownUrl()]; }
/** * @return array * @throws \Exception */ public function toArray() { return parent::toArray() + ['value' => $this->getValue($this->getModel()), 'append' => $this->getAppends()]; }
/** * @return array */ public function toArray() { return parent::toArray() + ['value' => $this->getModel()->getKey()]; }