コード例 #1
0
 /**
  * Instanciates a new controller.
  *
  * TODO:
  *   - pass $request to actions (e.g. show).
  *
  * @param Codendi_Request           $request
  * @param PlanningFactory           $planning_factory
  * @param Planning_MilestoneFactory $milestone_factory
  */
 public function __construct(Codendi_Request $request, Planning_MilestoneFactory $milestone_factory, ProjectManager $project_manager, Planning_VirtualTopMilestonePaneFactory $top_milestone_pane_factory)
 {
     parent::__construct('agiledashboard', $request);
     $this->milestone_factory = $milestone_factory;
     $this->top_milestone_pane_factory = $top_milestone_pane_factory;
     $this->project = $project_manager->getProject($request->get('group_id'));
 }
コード例 #2
0
 public function __construct(Logger $logger, OpenId_AccountManager $account_manager, HTTPRequest $request, Layout $response)
 {
     parent::__construct('openid', $request);
     $this->logger = $logger;
     $this->account_manager = $account_manager;
     $this->response = $response;
 }
コード例 #3
0
 /**
  * Instanciates a new controller.
  *
  * TODO:
  *   - pass $request to actions (e.g. show).
  *
  * @param Codendi_Request           $request
  * @param PlanningFactory           $planning_factory
  * @param Planning_MilestoneFactory $milestone_factory
  */
 public function __construct(Codendi_Request $request, Planning_MilestoneFactory $milestone_factory, ProjectManager $project_manager, Planning_MilestonePaneFactory $pane_factory, AgileDashboard_Milestone_Pane_PanePresenterBuilderFactory $pane_presenter_builder_factory)
 {
     parent::__construct('agiledashboard', $request);
     $this->milestone_factory = $milestone_factory;
     $this->pane_factory = $pane_factory;
     $this->pane_presenter_builder_factory = $pane_presenter_builder_factory;
     $this->project = $project_manager->getProject($request->get('group_id'));
 }
コード例 #4
0
 public function __construct(Codendi_Request $request, PlanningFactory $planning_factory, Planning_MilestoneFactory $milestone_factory, $plugin_theme_path, AgileDashboard_KanbanFactory $kanban_factory)
 {
     parent::__construct('agiledashboard', $request);
     $this->group_id = $request->getValidated('project_id', 'uint');
     $this->planning_factory = $planning_factory;
     $this->milestone_factory = $milestone_factory;
     $this->plugin_theme_path = $plugin_theme_path;
     $this->kanban_factory = $kanban_factory;
 }
コード例 #5
0
 public function __construct(Codendi_Request $request, PlanningFactory $planning_factory, AgileDashboard_KanbanManager $kanban_manager, AgileDashboard_KanbanFactory $kanban_factory, AgileDashboard_ConfigurationManager $config_manager, TrackerFactory $tracker_factory, AgileDashboard_PermissionsManager $permissions_manager)
 {
     parent::__construct('agiledashboard', $request);
     $this->group_id = (int) $this->request->get('group_id');
     $this->planning_factory = $planning_factory;
     $this->kanban_manager = $kanban_manager;
     $this->kanban_factory = $kanban_factory;
     $this->config_manager = $config_manager;
     $this->tracker_factory = $tracker_factory;
     $this->permissions_manager = $permissions_manager;
 }
コード例 #6
0
 public function __construct(Codendi_Request $request, PlanningFactory $planning_factory, Planning_ShortAccessFactory $planning_shortaccess_factory, Planning_MilestoneFactory $milestone_factory, ProjectManager $project_manager, AgileDashboard_XMLFullStructureExporter $xml_exporter, $plugin_theme_path, $plugin_path, AgileDashboard_KanbanManager $kanban_manager, AgileDashboard_ConfigurationManager $config_manager, AgileDashboard_KanbanFactory $kanban_factory, PlanningPermissionsManager $planning_permissions_manager)
 {
     parent::__construct('agiledashboard', $request);
     $this->group_id = (int) $request->get('group_id');
     $this->planning_factory = $planning_factory;
     $this->planning_shortaccess_factory = $planning_shortaccess_factory;
     $this->milestone_factory = $milestone_factory;
     $this->project_manager = $project_manager;
     $this->xml_exporter = $xml_exporter;
     $this->plugin_theme_path = $plugin_theme_path;
     $this->plugin_path = $plugin_path;
     $this->kanban_manager = $kanban_manager;
     $this->config_manager = $config_manager;
     $this->kanban_factory = $kanban_factory;
     $this->planning_permissions_manager = $planning_permissions_manager;
 }
コード例 #7
0
 public function __construct(Codendi_Request $request)
 {
     parent::__construct('fulltextsearch', $request);
 }
コード例 #8
0
 public function __construct(Codendi_Request $request, FullTextSearch_ISearchDocuments $client)
 {
     parent::__construct('fulltextsearch', $request);
     $this->client = $client;
 }
コード例 #9
0
 public function __construct(Codendi_Request $request, Planning_MilestoneFactory $milestone_factory)
 {
     parent::__construct('agiledashboard', $request);
     $this->milestone_factory = $milestone_factory;
 }
コード例 #10
0
 public function __construct($request)
 {
     parent::__construct('agiledashboard', $request);
 }
コード例 #11
0
 public function __construct(Codendi_Request $request, Cardwall_SingleCard $single_card)
 {
     parent::__construct('cardwall', $request);
     $this->single_card = $single_card;
 }