/** * Method description * * More detailed method description * @param mixed $data * @return void */ function setData(WidgetResultSet $data) { $h = Header::get(); $h->setTitleSeparator(Language::encodePair($data->get('separator'))); $h->setTitleStart(Language::encodePair($data->get('start'))); $h->setTitleEnd(Language::encodePair($data->get('end'))); if ($data->get('add')) { $h->addTitleItem(Language::encodePair($data->get('add'))); } parent::setData($data); }
/** * Method description * * More detailed method description * @param mixed $data * @return void */ function setData(WidgetResultSet $data) { $this->setText($data->get('text')); $this->setValue($data->get('value')); $this->setValue($data->getDef()); $this->setSelected($data->get('selected')); parent::setData($data); }
/** * Method description * * More detailed method description * @param mixed $data * @return void */ function setData(WidgetResultSet $data) { $this->setFile($data->getDef()); $this->setFile($data->get('file')); $this->setSrc($data->get('src')); $this->setWidth($data->get('width')); $this->setHeight($data->get('height')); $this->setAlt($data->get('alt')); $this->setMaxWidth($data->get('max_width')); $this->setMaxHeight($data->get('max_height')); $this->setWithPreview($data->get('with_preview')); parent::setData($data); }
/** * Method description * * More detailed method description * @param mixed $data * @return void */ function setData(WidgetResultSet $data) { $this->setText($data->get('text')); $this->setText($data->getDef()); parent::setData($data); }
/** * Method description * * More detailed method description * @param mixed $data * @return void */ function setData(WidgetResultSet $data) { $this->setVar($data->get('var')); $this->setVar($data->getDef()); parent::setData($data); }
/** * Method description * * More detailed method description * @param array $data * @return void */ function setData(WidgetResultSet $data) { $this->childSetData($data); parent::setData($data); }
/** * Method description * * More detailed method description * @param array $data * @return void */ function setData(WidgetResultSet $data) { $this->setName($data->get('name')); $this->setValue($data->getDef()); $this->setValue($data->get('value')); $this->setReadonly($data->get('readonly')); $this->setAdditionalID($data->get('additional_id')); $this->setDisabled($data->get('disabled')); parent::setData($data); }
/** * Method description * * More detailed method description * @param mixed $data * @return void */ function setData(WidgetResultSet $data) { $this->setSrc($data->getDef()); $this->setSrc($data->get('src')); $this->setWidth($data->get('width')); $this->setHeight($data->get('height')); $this->setBgColor($data->get('bgcolor')); parent::setData($data); }