Page MenuHomec4science

PholioMockHasTaskRelationship.php
No OneTemporary

File Metadata

Created
Fri, Nov 29, 22:11

PholioMockHasTaskRelationship.php

<?php
final class PholioMockHasTaskRelationship
extends PholioMockRelationship {
const RELATIONSHIPKEY = 'mock.has-task';
public function getEdgeConstant() {
return PholioMockHasTaskEdgeType::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