/** * Set the value for this object from a previously submitted form. * @param RequestAbstract $request */ protected function setValueFrom(RequestAbstract $request) { if ($request->get($this->getName()) !== null) { $this->setParam('checked', 'checked'); } $this->setValue($request->get($this->getName())); }
/** * Set the value for this object from a previously submitted form. * * @param RequestAbstract $request */ protected function setValueFrom(RequestAbstract $request) { $this->setValue($request->get($this->getName())); }