public function getTrackCreateOptions()
    {
        return [
            0 => $this->_('Do nothing'),
            4 => $this->_('Create new on minimum start date difference'),
            3 => $this->_('Create always (unless the appointment already assigned)'),
            2 => $this->_('Create new on minimum end date difference'),
            5 => $this->_('Create new when all surveys have been completed'),
            1 => $this->_('Create new when all surveys have been completed and on minimum end date'),
            ];
    }
public function getTrackCreateOptions()
    {
        return [
            0 => $this->_('Do nothing'),
            4 => $this->_('Create new on minimum start date difference'),
            3 => $this->_('Create always (unless the appointment already assigned)'),
            2 => $this->_('Create new on minimum end date difference'),
            5 => $this->_('Create new when all surveys have been completed'),
            1 => $this->_('Create new when all surveys have been completed and on minimum end date'),
            ];
    }
public function getTrackCreateOptions ( ) { return [ 0 => $ this -> _ ( 'Do nothing' ) , 4 => $ this -> _ ( 'Create new on minimum start date difference' ) , 3 => $ this -> _ ( 'Create always (unless the appointment already assigned)' ) , 2 => $ this -> _ ( 'Create new on minimum end date difference' ) , 5 => $ this -> _ ( 'Create new when all surveys have been completed' ) , 1 => $ this -> _ ( 'Create new when all surveys have been completed and on minimum end date' ) , ] ; }
Get the element that allows to create a track from an appointment

When adding a new type, make sure to modify \Gems_Agenda_Appointment too
@see \Gems_Agenda_Appointment::getCreatorCheckMethod()

@return array Code => label
Get the element that allows to create a track from an appointment