示例#1
0
 protected function buildInternal()
 {
     parent::buildInternal();
     $this->ui->getWidget('geo_tag_link')->visible = $this->app->config->pinhole->google_maps_api_key !== null;
 }
示例#2
0
文件: Index.php 项目: nburka/blorg
 protected function buildInternal()
 {
     parent::buildInternal();
     $this->buildComponentTitlesAndLinks();
 }
示例#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));
 }