/** * @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()]; }
/** * @return array */ public function toArray() { return parent::toArray() + ['movableUp' => $this->movableUp(), 'moveUpUrl' => $this->moveUpUrl(), 'movableDown' => $this->movableDown(), 'moveDownUrl' => $this->moveDownUrl()]; }
/** * @param $name */ public function __construct($name) { parent::__construct(); $this->setName($name); }