original_string: public function get_installed_blocks() {
          global $DB;
          if (is_null($this->allblocks)) {
              $this->allblocks = $DB->get_records('block');
          }
          return $this->allblocks;
      }
code: public function get_installed_blocks() {
          global $DB;
          if (is_null($this->allblocks)) {
              $this->allblocks = $DB->get_records('block');
          }
          return $this->allblocks;
      }
code_tokens: public function get_installed_blocks ( ) { global $ DB ; if ( is_null ( $ this -> allblocks ) ) { $ this -> allblocks = $ DB -> get_records ( 'block' ) ; } return $ this -> allblocks ; }
docstring: Get an array of all of the installed blocks.
  
  @return array contents of the block table.
docstring_tokens: Get an array of all of the installed blocks .