public function checkAllTracksAction()
    {
        $respondent = $this->getRespondent();
        $where      = $this->db->quoteInto('gr2t_id_user = ?', $respondent->getId());

        $batch = $this->loader->getTracker()->checkTrackRounds(
                'trackCheckRoundsResp_' . $respondent->getId(),
                $this->currentUser->getUserId(),
                $where
                );

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

        $this->addSnippet('Track\\CheckRoundsInformation');
    }
public function checkAllTracksAction()
    {
        $respondent = $this->getRespondent();
        $where      = $this->db->quoteInto('gr2t_id_user = ?', $respondent->getId());

        $batch = $this->loader->getTracker()->checkTrackRounds(
                'trackCheckRoundsResp_' . $respondent->getId(),
                $this->currentUser->getUserId(),
                $where
                );

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

        $this->addSnippet('Track\\CheckRoundsInformation');
    }
public function checkAllTracksAction ( ) { $ respondent = $ this -> getRespondent ( ) ; $ where = $ this -> db -> quoteInto ( 'gr2t_id_user = ?' , $ respondent -> getId ( ) ) ; $ batch = $ this -> loader -> getTracker ( ) -> checkTrackRounds ( 'trackCheckRoundsResp_' . $ respondent -> getId ( ) , $ this -> currentUser -> getUserId ( ) , $ where ) ; $ title = sprintf ( $ this -> _ ( 'Checking round assignments for all tracks of respondent %s, %s.' ) , $ respondent -> getPatientNumber ( ) , $ respondent -> getFullName ( ) ) ; $ this -> _helper -> BatchRunner ( $ batch , $ title , $ this -> accesslog ) ; $ this -> addSnippet ( 'Track\\CheckRoundsInformation' ) ; }
Action for checking all assigned rounds for this respondent using a batch
Action for checking all assigned rounds for this respondent using a batch