Exemplo n.º 1
0
 private function addNodeToCell(Cardwall_CardInCellPresenter $presenter, Cardwall_Column $column, array &$presenters)
 {
     $artifact = $presenter->getArtifact();
     if ($this->config->isInColumn($artifact, $this->field_provider, $column)) {
         $presenters[] = $presenter;
     }
 }
Exemplo n.º 2
0
 public function __construct(Cardwall_CardInCellPresenter $card_in_cell_presenter, Cardwall_CardFields $card_fields, Cardwall_UserPreferences_UserPreferencesDisplayUser $display_preferences, $column_id, Cardwall_OnTop_Config_TrackerMapping $mapping)
 {
     $this->card_in_cell_presenter = $card_in_cell_presenter;
     $this->artifact = $card_in_cell_presenter->getArtifact();
     $this->card_fields = $card_fields;
     $this->display_preferences = $display_preferences;
     $this->column_id = $column_id;
     $this->mapping = $mapping;
 }
 public function getArtifact()
 {
     return $this->presenter->getArtifact();
 }
 private function getCardStatus(Cardwall_CardInCellPresenter $card)
 {
     $semantic = Tracker_Semantic_Status::load($card->getArtifact()->getTracker());
     return $semantic->getNormalizedStatusLabel($card->getArtifact());
 }
Exemplo n.º 5
0
 /**
  * @return Tracker_CardPresenter
  */
 public function getCardPresenter()
 {
     return $this->card_in_cell_presenter->getCardPresenter();
 }