protected function initInternal() { parent::initInternal(); $this->id = SiteApplication::initVar('id'); $this->ui->loadFromXML($this->getUiXml()); $this->initNewsletter(); $this->updateNewsletterStats(); }
protected function initInternal() { parent::initInternal(); $this->ui->loadFromXML($this->getUiXml()); $this->initStartDate(); $this->initProviders(); $this->initReportsByQuarter(); $this->initTableViewColumns(); }
protected function initInternal() { parent::initInternal(); $this->ui->loadFromXML($this->ui_xml); if (!$this instanceof PinholePhotoLastUpload && count($this->getUnProcessedPhotos()) > 0) { $this->app->relocate($this->getComponentName() . '/LastUpload'); } // setup tag entry control $this->ui->getWidget('tags')->setApplication($this->app); $this->ui->getWidget('tags')->setAllTags(); $this->ui->getWidget('passphrase_field')->visible = $this->app->config->pinhole->passphrase === null; $this->ui->getWidget('for_sale')->visible = $this->ui->getWidget('not_for_sale')->visible = $this->ui->getWidget('for_sale_divider')->visible = $this->app->config->clustershot->username !== null; }
protected function initInternal() { parent::initInternal(); $this->id = SiteApplication::initVar('id'); $this->initTag(); $this->ui->loadFromXML($this->ui_xml); $instance_id = $this->app->getInstanceId(); $this->ui->getWidget('passphrase_field')->visible = $this->app->config->pinhole->passphrase === null; // setup tag entry control $this->ui->getWidget('tags')->setApplication($this->app); $this->ui->getWidget('tags')->setAllTags(); // setup status list $status_flydown = $this->ui->getWidget('status_flydown'); $status_flydown->addOptionsByArray(PinholePhoto::getStatuses()); }
protected function initInternal() { AdminIndex::initInternal(); $this->id = SiteApplication::initVar('id'); if (is_numeric($this->id)) { $this->id = intval($this->id); } $this->initCredit(); $this->initInquisition(); $this->ui->loadFromXML($this->getUiXml()); $local_ui = new SwatUI(); $local_ui->loadFromXML($this->getCreditDetailsViewXml()); $provider_titles = array(); foreach ($this->credit->front_matter->providers as $provider) { $provider_titles[] = $provider->credit_title_plural; } $local_ui->getWidget('details_view')->getField('hour')->title = SwatString::toList($provider_titles); $view = $this->ui->getWidget('details_view'); foreach ($local_ui->getWidget('details_view')->getFields() as $field) { $view->appendField($field); } }
protected function initInternal() { parent::initInternal(); $this->ui->loadFromXML($this->getUiXml()); }
protected function initInternal() { parent::initInternal(); $this->ui->loadFromXML($this->ui_xml); }