__construct() public method

public __construct ( )
Ejemplo n.º 1
0
 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());
 }
Ejemplo n.º 2
0
 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]]);
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('plugins'));
     Registry::indexPlugins();
 }
Ejemplo n.º 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]]);
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('priorities'));
 }
Ejemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     $this->addcrumb($this->translate('projects'), $this->generateUrl('admin_projects'));
 }
Ejemplo n.º 7
0
Archivo: Users.php Proyecto: nirix/traq
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('users'), $this->generateUrl('admin_users'));
 }
Ejemplo n.º 8
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('project_roles'));
 }
Ejemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('groups'));
 }
Ejemplo n.º 10
0
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('plugins'), $this->generateUrl('admin_plugins'));
     Registry::indexPlugins();
 }