protected function buildInternal() { parent::buildInternal(); $this->ui->getWidget('status')->addOptionsByArray(PinholePhotographer::getStatuses()); }
protected function buildInternal() { parent::buildInternal(); $this->buildFiles(); $this->buildAuthors(); // init image server for editors here since form_unique_id has been // processed as this point. if ($this->app->config->blorg->visual_editor) { $this->bodytext_control->image_server = $this->getBodytextEditorImageServer(); $this->extended_bodytext_control->image_server = $this->getBodytextEditorImageServer(); } }
protected function buildInternal() { parent::buildInternal(); if ($this->author->shortname === null) { $uri = Blorg::_('this author’s public page'); } else { $uri = $this->app->getFrontendBaseHref() . $this->app->config->blorg->path . 'author/' . $this->author->shortname; $uri = '<em>' . SwatString::minimizeEntities($uri) . '</em>'; } $note = $this->ui->getWidget('openid_note'); $note->content = sprintf($note->content, $uri); }
protected function buildInternal() { parent::buildInternal(); $message = $this->ui->getWidget('content_block'); $message->content = $this->getMessage(); $message->content_type = 'text/xml'; }
protected function buildInternal() { parent::buildInternal(); $this->buildTemplates(); $this->buildSegments(); }
protected function buildInternal() { parent::buildInternal(); $message = $this->ui->getWidget('confirmation_message'); $message->content = $this->getConfirmationMessage(); $message->content_type = 'text/xml'; $date = new SwatDate(); $date->setTZ($this->app->default_time_zone); $note = sprintf(Deliverance::_('Scheduled times in ' . '<strong>%s</strong>. Leave date and time blank to send ' . 'immediately.'), $date->formatTZ(SwatDate::TZ_COMBINED)); $this->ui->getWidget('send_date_field')->note = $note; $this->ui->getWidget('send_date_field')->note_content_type = 'txt/xml'; }
protected function buildInternal() { parent::buildInternal(); $this->buildPreview(); $this->buildPendingCount(); $this->buildSiteLinks(); $this->ui->getWidget('edit_frame')->title = null; $toolbar = $this->ui->getWidget('toolbar'); $toolbar->setToolLinkValues($this->photo->id); }