/** * return rendering information * * @return array rendering information */ public function getRenderingInformation() { $data = parent::getRenderingInformation(); $data['hour'] = $this->renderHour(); $data['minute'] = $this->renderMinute(); return $data; }
/** * return rendering information * * @return array rendering information */ public function getRenderingInformation() { $data = parent::getRenderingInformation(); $data['year'] = $this->renderYear(); $data['month'] = $this->renderMonth(); $data['day'] = $this->renderDay(); return $data; }
/** * return rendering information * * @return array rendering information */ public function getRenderingInformation() { $data = parent::getRenderingInformation(); $data['items'] = []; foreach ($this->configuration['items'] as $value => $label) { $checked = $this->getValue() == $value ? ' checked="checked"' : ''; $data['items'][$value] = array('input' => '<input id="' . $this->getHtmlId() . '-' . $value . '" name="' . $this->absolutename . '" type="radio" value="' . $value . '"' . $checked . $class . ' />', 'label' => '<label for="' . $this->getHtmlId() . '-' . $value . '">' . $label . '</label>'); } return $data; }
/** * return rendering information * * @return array rendering information */ public function getRenderingInformation() { $data = parent::getRenderingInformation(); if (isset($this->configuration['min'])) { $data['min'] = $this->configuration['min']; } if (isset($this->configuration['max'])) { $data['max'] = $this->configuration['max']; } if (isset($this->configuration['step'])) { $data['step'] = $this->configuration['step']; } return $data; }