public function checkTrackAction()
    {
        $respondent  = $this->getRespondent();
        $respTrackId = $this->getRespondentTrackId();
        $trackEngine = $this->getTrackEngine();
        $where       = $this->db->quoteInto('gr2t_id_respondent_track = ?', $respTrackId);
        $batch = $this->loader->getTracker()->checkTrackRounds(
                'trackCheckRoundsFor_' . $respTrackId,
                $this->currentUser->getUserId(),
                $where
                );

        $title = sprintf(
                $this->_("Checking round assignments for track '%s' of respondent %s, %s."),
                $trackEngine->getTrackName(),
                $respondent->getPatientNumber(),
                $respondent->getFullName()
                );
        $this->_helper->BatchRunner($batch, $title, $this->accesslog);

        $this->addSnippet('Track\\CheckRoundsInformation');
    }
public function checkTrackAction()
    {
        $respondent  = $this->getRespondent();
        $respTrackId = $this->getRespondentTrackId();
        $trackEngine = $this->getTrackEngine();
        $where       = $this->db->quoteInto('gr2t_id_respondent_track = ?', $respTrackId);
        $batch = $this->loader->getTracker()->checkTrackRounds(
                'trackCheckRoundsFor_' . $respTrackId,
                $this->currentUser->getUserId(),
                $where
                );

        $title = sprintf(
                $this->_("Checking round assignments for track '%s' of respondent %s, %s."),
                $trackEngine->getTrackName(),
                $respondent->getPatientNumber(),
                $respondent->getFullName()
                );
        $this->_helper->BatchRunner($batch, $title, $this->accesslog);

        $this->addSnippet('Track\\CheckRoundsInformation');
    }
public function checkTrackAction ( ) { $ respondent = $ this -> getRespondent ( ) ; $ respTrackId = $ this -> getRespondentTrackId ( ) ; $ trackEngine = $ this -> getTrackEngine ( ) ; $ where = $ this -> db -> quoteInto ( 'gr2t_id_respondent_track = ?' , $ respTrackId ) ; $ batch = $ this -> loader -> getTracker ( ) -> checkTrackRounds ( 'trackCheckRoundsFor_' . $ respTrackId , $ this -> currentUser -> getUserId ( ) , $ where ) ; $ title = sprintf ( $ this -> _ ( "Checking round assignments for track '%s' of respondent %s, %s." ) , $ trackEngine -> getTrackName ( ) , $ respondent -> getPatientNumber ( ) , $ respondent -> getFullName ( ) ) ; $ this -> _helper -> BatchRunner ( $ batch , $ title , $ this -> accesslog ) ; $ this -> addSnippet ( 'Track\\CheckRoundsInformation' ) ; }
Action for checking all assigned rounds for a single respondent track using a batch
Action for checking all assigned rounds for a single respondent track using a batch