public function getAllUnansweredTokens($where = '')
    {
        $select = $this->tracker->getTokenSelect();
        $select->andReceptionCodes()
                ->andRespondentTracks()
                ->andRounds(array())
                ->andSurveys(array())
                ->andTracks()
                ->forGroupId($this->getSurvey()->getGroupId())
                ->forRespondent($this->getRespondentId(), $this->getOrganizationId())
                ->onlySucces()
                ->forWhere('gsu_active = 1')
                ->forWhere('gro_active = 1 OR gro_active IS NULL')
                ->order('gtr_track_name')
                ->order('gr2t_track_info')
                ->order('gto_valid_until')
                ->order('gto_valid_from');

        $this->_addRelation($select);

        if (!empty($where)) {
            $select->forWhere($where);
        }

        return $select->fetchAll();
    }
public function getAllUnansweredTokens($where = '')
    {
        $select = $this->tracker->getTokenSelect();
        $select->andReceptionCodes()
                ->andRespondentTracks()
                ->andRounds(array())
                ->andSurveys(array())
                ->andTracks()
                ->forGroupId($this->getSurvey()->getGroupId())
                ->forRespondent($this->getRespondentId(), $this->getOrganizationId())
                ->onlySucces()
                ->forWhere('gsu_active = 1')
                ->forWhere('gro_active = 1 OR gro_active IS NULL')
                ->order('gtr_track_name')
                ->order('gr2t_track_info')
                ->order('gto_valid_until')
                ->order('gto_valid_from');

        $this->_addRelation($select);

        if (!empty($where)) {
            $select->forWhere($where);
        }

        return $select->fetchAll();
    }
public function getAllUnansweredTokens ( $ where = '' ) { $ select = $ this -> tracker -> getTokenSelect ( ) ; $ select -> andReceptionCodes ( ) -> andRespondentTracks ( ) -> andRounds ( array ( ) ) -> andSurveys ( array ( ) ) -> andTracks ( ) -> forGroupId ( $ this -> getSurvey ( ) -> getGroupId ( ) ) -> forRespondent ( $ this -> getRespondentId ( ) , $ this -> getOrganizationId ( ) ) -> onlySucces ( ) -> forWhere ( 'gsu_active = 1' ) -> forWhere ( 'gro_active = 1 OR gro_active IS NULL' ) -> order ( 'gtr_track_name' ) -> order ( 'gr2t_track_info' ) -> order ( 'gto_valid_until' ) -> order ( 'gto_valid_from' ) ; $ this -> _addRelation ( $ select ) ; if ( ! empty ( $ where ) ) { $ select -> forWhere ( $ where ) ; } return $ select -> fetchAll ( ) ; }
Get all unanswered tokens for the person answering this token

Similar to @see $this->getNextUnansweredToken()
Similar to @see $this->getTokenCountUnanswered()

@return array of tokendata
Get all unanswered tokens for the person answering this token