__construct() public method

public __construct ( )
示例#1
0
文件: Settings.php 项目: nirix/traq
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('settings'), $this->generateUrl('admin_settings'));
     // Ticket history sorting select options
     $this->set('historySortingSelectOptions', [['label' => $this->translate("oldest_first"), 'value' => "oldest_first"], ['label' => $this->translate("newest_first"), 'value' => "newest_first"]]);
     Themes::index();
     $this->set('themes', Themes::selectOptions());
 }
示例#2
0
文件: Statuses.php 项目: nirix/traq
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('statuses'), $this->generateUrl('admin_statuses'));
     $this->set('typeSelectOptions', [['label' => $this->translate('status.type.1'), 'value' => 1], ['label' => $this->translate('status.type.2'), 'value' => 2], ['label' => $this->translate('status.type.0'), 'value' => 0]]);
 }
示例#3
0
文件: Plugins.php 项目: dasklney/traq
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('plugins'));
     Registry::indexPlugins();
 }
示例#4
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('statuses'));
     $this->set('typeSelectOptions', [['label' => $this->translate('status.type.1'), 'value' => 1], ['label' => $this->translate('status.type.2'), 'value' => 2], ['label' => $this->translate('status.type.0'), 'value' => 0]]);
 }
示例#5
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('priorities'));
 }
示例#6
0
文件: Projects.php 项目: nirix/traq
 public function __construct()
 {
     parent::__construct();
     $this->addcrumb($this->translate('projects'), $this->generateUrl('admin_projects'));
 }
示例#7
0
文件: Users.php 项目: nirix/traq
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('users'), $this->generateUrl('admin_users'));
 }
示例#8
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('project_roles'));
 }
示例#9
0
文件: Groups.php 项目: dasklney/traq
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('groups'));
 }
示例#10
0
文件: Plugins.php 项目: nirix/traq
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('plugins'), $this->generateUrl('admin_plugins'));
     Registry::indexPlugins();
 }