public function createWhenNotInThisTrack($filter, $respTrack)
    {
        $createTrack = true;

        $data = $respTrack->getFieldData();
        if (isset($data[$filter->getFieldId()]) &&
                ($this->getId() == $data[$filter->getFieldId()])) {
            $createTrack = false;
        }

        return $createTrack;
    }
public function createWhenNotInThisTrack($filter, $respTrack)
    {
        $createTrack = true;

        $data = $respTrack->getFieldData();
        if (isset($data[$filter->getFieldId()]) &&
                ($this->getId() == $data[$filter->getFieldId()])) {
            $createTrack = false;
        }

        return $createTrack;
    }
public function createWhenNotInThisTrack ( $ filter , $ respTrack ) { $ createTrack = true ; $ data = $ respTrack -> getFieldData ( ) ; if ( isset ( $ data [ $ filter -> getFieldId ( ) ] ) && ( $ this -> getId ( ) == $ data [ $ filter -> getFieldId ( ) ] ) ) { $ createTrack = false ; } return $ createTrack ; }
Create when current appointment is not assigned to this field already

@param \Gems\Agenda\AppointmentFilterInterface $filter
@param \Gems_Tracker_RespondentTrack $respTrack

@return boolean
Create when current appointment is not assigned to this field already