original_string: public function get_from_ids(array $ids) {
          $alias = $this->get_table_alias();
          list($insql, $params) = $this->get_db()->get_in_or_equal($ids);
          $wheresql = $alias . '.id ' . $insql;
          $sql = $this->generate_get_records_sql($wheresql);
          $records = $this->get_db()->get_records_sql($sql, $params);
  
          return $this->transform_db_records_to_entities($records);
      }
code: public function get_from_ids(array $ids) {
          $alias = $this->get_table_alias();
          list($insql, $params) = $this->get_db()->get_in_or_equal($ids);
          $wheresql = $alias . '.id ' . $insql;
          $sql = $this->generate_get_records_sql($wheresql);
          $records = $this->get_db()->get_records_sql($sql, $params);
  
          return $this->transform_db_records_to_entities($records);
      }
code_tokens: public function get_from_ids ( array $ ids ) { $ alias = $ this -> get_table_alias ( ) ; list ( $ insql , $ params ) = $ this -> get_db ( ) -> get_in_or_equal ( $ ids ) ; $ wheresql = $ alias . '.id ' . $ insql ; $ sql = $ this -> generate_get_records_sql ( $ wheresql ) ; $ records = $ this -> get_db ( ) -> get_records_sql ( $ sql , $ params ) ; return $ this -> transform_db_records_to_entities ( $ records ) ; }
docstring: Get the list of entities for the given ids.
  
  @param int[] $ids Identifiers
  @return array
docstring_tokens: Get the list of entities for the given ids .