Page MenuHomec4science

DiffusionCommitHasTaskRelationship.php
No OneTemporary

File Metadata

Created
Fri, Nov 29, 23:22

DiffusionCommitHasTaskRelationship.php

<?php
final class DiffusionCommitHasTaskRelationship
extends DiffusionCommitRelationship {
const RELATIONSHIPKEY = 'commit.has-task';
public function getEdgeConstant() {
return DiffusionCommitHasTaskEdgeType::EDGECONST;
}
protected function getActionName() {
return pht('Edit Tasks');
}
protected function getActionIcon() {
return 'fa-anchor';
}
public function canRelateObjects($src, $dst) {
return ($dst instanceof ManiphestTask);
}
public function getDialogTitleText() {
return pht('Edit Related Tasks');
}
public function getDialogHeaderText() {
return pht('Current Tasks');
}
public function getDialogButtonText() {
return pht('Save Related Tasks');
}
protected function newRelationshipSource() {
return new ManiphestTaskRelationshipSource();
}
}

Event Timeline