Exemplo n.º 1
0
 protected function buildInternal()
 {
     parent::buildInternal();
     $this->ui->getWidget('geo_tag_link')->visible = $this->app->config->pinhole->google_maps_api_key !== null;
 }
Exemplo n.º 2
0
 protected function buildInternal()
 {
     parent::buildInternal();
     $this->buildComponentTitlesAndLinks();
 }
Exemplo n.º 3
0
 protected function buildInternal()
 {
     parent::buildInternal();
     $this->buildAuthorWarning();
     $instance_id = $this->app->getInstanceId();
     $where_clause = sprintf('visible = %s and instance %s %s', $this->app->db->quote(true, 'boolean'), SwatDB::equalityOperator($instance_id), $this->app->db->quote($instance_id, 'integer'));
     $author_flydown = $this->ui->getWidget('search_author');
     $author_flydown->show_blank = true;
     $author_flydown->addOptionsByArray(SwatDB::getOptionArray($this->app->db, 'BlorgAuthor', 'name', 'id', 'name', $where_clause));
 }