__construct() 공개 메소드

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
파일: Statuses.php 프로젝트: dasklney/traq
 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();
 }