public function buildDisplayOrder() { return Util\Form::buildField('displayOrder' . $this->unique, $this->displayOrderBuilder, $this->getModel()->getDisplayOrder()); }
public function buildField() { return Util\Form::buildField('field' . $this->unique, $this->fieldBuilder, $this->getModel()->getField()); }
public function buildLine() { return Util\Form::buildField('line' . $this->unique, $this->lineBuilder, $this->getModel()->getLine()); }
public function buildAlt() { return Util\Form::buildField('alt' . $this->unique, $this->altBuilder, $this->getModel()->getAlt()); }
public function buildMailListOnError() { return Util\Form::buildField('mailListOnError' . $this->unique, $this->mailListOnErrorBuilder, $this->getModel()->getMailListOnError()); }
public function buildSummary() { return Util\Form::buildField('summary' . $this->unique, $this->summaryBuilder, $this->getModel()->getSummary()); }
public function buildColumns() { return Util\Form::buildField('columns' . $this->unique, $this->columnsBuilder, $this->getModel()->getColumns()); }
public static function renderMastery($class, $mastery, $value, $max, $form = true) { $tpl = new Util\Template(Util\Template::MODULE, ['bus', 'player']); $html = '<div class="r-row"> <div class="r-col-xs-10 tooltip" title="' . $tpl->render('mastery-' . $mastery) . '"> ' . self::renderProgressBar($class, $mastery, $value, $max) . '</div> <div class="r-col-xs-2">'; if ($form) { $html .= '<a href="#" class="button action tooltip" data-mastery="' . $mastery . '" title="">+</a> ' . Util\Form::buildField($mastery, 'hidden', $value); } $html .= '</div></div>'; return $html; }
public function buildDescription() { return Util\Form::buildField('description' . $this->unique, $this->descriptionBuilder, $this->getModel()->getDescription()); }
public function buildFooterLevel() { return Util\Form::buildField('footerLevel' . $this->unique, $this->footerLevelBuilder, $this->getModel()->getFooterLevel()); }
public function buildAvatar() { return Util\Form::buildField('avatarId' . $this->unique, 'media', $this->getModel()->getUser()->getAvatar()); }
public function buildPublishedDate() { return Util\Form::buildField('publishedDate' . $this->unique, $this->publishedDateBuilder, $this->getModel()->getPublishedDate()); }
public function buildSecure() { return Util\Form::buildField('secure' . $this->unique, $this->secureBuilder, $this->getModel()->getSecure()); }
public function buildMethod() { return Util\Form::buildField('method' . $this->unique, $this->methodBuilder, $this->getModel()->getMethod()); }
public function buildAvatar($isMedia = true) { if ($isMedia) { return Util\Form::buildMedia('avatarId' . $this->unique, $this->getModel()->getAvatar()); } return Util\Form::buildField('avatarId' . $this->unique, $this->avatarBuilder, $this->getModel()->getAvatar()); }