original_string: public function get_questions_from_categories_with_usage_counts($categoryids,
              qubaid_condition $qubaids, $extraconditions = '', $extraparams = array()) {
          return $this->get_questions_from_categories_and_tags_with_usage_counts(
                  $categoryids, $qubaids, $extraconditions, $extraparams);
      }
code: public function get_questions_from_categories_with_usage_counts($categoryids,
              qubaid_condition $qubaids, $extraconditions = '', $extraparams = array()) {
          return $this->get_questions_from_categories_and_tags_with_usage_counts(
                  $categoryids, $qubaids, $extraconditions, $extraparams);
      }
code_tokens: public function get_questions_from_categories_with_usage_counts ( $ categoryids , qubaid_condition $ qubaids , $ extraconditions = '' , $ extraparams = array ( ) ) { return $ this -> get_questions_from_categories_and_tags_with_usage_counts ( $ categoryids , $ qubaids , $ extraconditions , $ extraparams ) ; }
docstring: Get the ids of all the questions in a list of categories, with the number
  of times they have already been used in a given set of usages.
  
  The result array is returned in order of increasing (count previous uses).
  
  @param array $categoryids an array question_category ids.
  @param qubaid_condition $qubaids which question_usages to count previous uses from.
  @param string $extraconditions extra conditions to AND with the rest of
  the where clause. Must use named parameters.
  @param array $extraparams any parameters used by $extraconditions.
  @return array questionid => count of number of previous uses.
docstring_tokens: Get the ids of all the questions in a list of categories with the number of times they have already been used in a given set of usages .