/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $this->tpl->setParamsArray(array("text" => Language::encodePair($this->getText()), "value" => Language::encodePair($this->getValue()), "selected" => $this->getSelected() ? "selected=\"1\"" : "")); parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $this->tpl->setParamsArray(array("alt" => Language::encodePair($this->getAlt()), "width" => $this->getWidth() ? ' width="' . $this->getWidth() . '"' : '', "height" => $this->getHeight() ? ' height="' . $this->getHeight() . '"' : '', "src" => $this->getSrc(), 'preview' => $this->getWithPreview())); parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $l = array_slice($this->steps, -1, 1); $l = $l[0]; $this->tpl->setParams(t(new TemplateParams())->set('steps', array_slice($this->steps, 0, -1))->set('last_step', $l)); parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { if (isset($this->text)) { $this->tpl->setParamsArray(array("content" => $this->getText(), "media" => $this->getMedia(), "condition" => $this->getCond())); } parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $this->tpl->setParamsArray(array("var" => json_encode($this->getVar()))); parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $this->tpl->setParamsArray(array('code' => $this->getUseLang() ? Language::encodePair($this->getCode()) : $this->getCode(), "condition" => $this->getCond())); parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $this->tpl->setParamsArray(array("name" => isset($this->additional_id) ? $this->getName() . '[' . $this->additional_id . ']' . ($this->name_w_braces ? "[]" : "") : $this->getName() . ($this->name_w_braces ? "[]" : ""), "value" => Language::encodePair($this->getValue()), "readonly" => $this->getReadonly() ? 'readonly="' . $this->getReadonly() . '"' : '', "disabled" => $this->getDisabled() ? 'disabled="' . $this->getDisabled() . '"' : '', "tabindex" => $this->getTabIndex() ? 'tabindex="' . $this->getTabIndex() . '"' : '')); if ($this instanceof iStringProcessable) { $this->tpl->setParams(t(new TemplateParams())->set('value', StringProcessorFactory::create($this->getStringProcess())->process(Language::encodePair($this->getValue())))); } else { $this->tpl->setParams(t(new TemplateParams())->set('value', Language::encodePair($this->getValue()))); } if (isset($this->filter_error_string)) { $this->tpl->setParamsArray(array("error_string" => "<span class=\"w-error\">" . Language::encodePair($this->getFilterError()) . "</span>")); } parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $this->tpl->setParamsArray(array("width" => $this->getWidth(), "height" => $this->getHeight(), "src" => $this->getSrc(), 'bgcolor' => $this->getBgColor())); parent::assignVars(); }
/** * Method description * * More detailed method description * @param void * @return void */ function assignVars() { $this->tpl->setParamsArray(array("content" => $this->page_text)); parent::assignVars(); }