original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Get all unanswered tokens for the person answering this token
  
  Similar to @see $this->getNextUnansweredToken()
  Similar to @see $this->getTokenCountUnanswered()
  
  @return array of tokendata
docstring_tokens: Get all unanswered tokens for the person answering this token