/** * Is the field used in a field dependency? * * @return boolean returns true if the field is used in field dependency, false otherwise */ public function isUsedInFieldDependency() { $rm = new Tracker_RulesManager($this->getTracker()); return $rm->isUsedInFieldDependency($this); }
/** * Is the field used in a field dependency? * * @return boolean returns true if the field is used in field dependency, false otherwise */ public function isUsedInFieldDependency() { $rm = new Tracker_RulesManager($this->getTracker(), Tracker_FormElementFactory::instance()); return $rm->isUsedInFieldDependency($this); }