Exemplo n.º 1
0
 /**
  * Return true if the given status can belong to current column
  *
  * @param String                               $artifact_status
  * @param Cardwall_OnTop_Config_TrackerMapping $tracker_mapping
  *
  * @return Boolean
  */
 public function canContainStatus($artifact_status, Cardwall_OnTop_Config_TrackerMapping $tracker_mapping = null)
 {
     $is_mapped = false;
     if ($tracker_mapping) {
         $is_mapped = $tracker_mapping->isMappedTo($this, $artifact_status);
     }
     return $is_mapped || $this->matchesStatus($artifact_status);
 }
Exemplo n.º 2
0
 public function __construct(Tracker $tracker, array $available_fields, array $value_mappings, Tracker_FormElement_Field $field)
 {
     parent::__construct($tracker, $available_fields);
     $this->value_mappings = $value_mappings;
     $this->field = $field;
 }