/** * @return Reference */ public function __construct(Tracker $tracker, $keyword) { $base_id = 0; $visibility = 'P'; $is_used = 1; parent::__construct($base_id, $keyword, $GLOBALS['Language']->getText('project_reference', 'reference_art_desc_key') . ' - ' . $tracker->getName(), TRACKER_BASE_URL . '/?aid=$1&group_id=$group_id', $visibility, trackerPlugin::SERVICE_SHORTNAME, Tracker_Artifact::REFERENCE_NATURE, $is_used, $tracker->getGroupId()); }
/** * @return Reference */ public function __construct($keyword, $description, $link, $scope, $service_short_name, $nature, $project_id) { $base_id = 0; $is_used = 1; parent::__construct($base_id, $keyword, $description, $link, $scope, $service_short_name, $nature, $is_used, $project_id); }