original_string: public function fetch($name, $default = '')
      {
          $viewblock = '';
          $viewblocks = $this->get('viewblocks', []);
          if (!empty($viewblocks[$name])) {
              $viewblock = $this->_createViewblock($viewblocks[$name]);
          }
  
          $internal = $this->Blocks->get($name, $default);
  
          return $internal . $viewblock;
      }
code: public function fetch($name, $default = '')
      {
          $viewblock = '';
          $viewblocks = $this->get('viewblocks', []);
          if (!empty($viewblocks[$name])) {
              $viewblock = $this->_createViewblock($viewblocks[$name]);
          }
  
          $internal = $this->Blocks->get($name, $default);
  
          return $internal . $viewblock;
      }
code_tokens: public function fetch ( $ name , $ default = '' ) { $ viewblock = '' ; $ viewblocks = $ this -> get ( 'viewblocks' , [ ] ) ; if ( ! empty ( $ viewblocks [ $ name ] ) ) { $ viewblock = $ this -> _createViewblock ( $ viewblocks [ $ name ] ) ; } $ internal = $ this -> Blocks -> get ( $ name , $ default ) ; return $ internal . $ viewblock ; }
docstring: Fetch the content for a block. If a block is
  empty or undefined '' will be returned.
  
  @param string $name Name of the block
  @param string $default Default text
  @return string default The block content or $default if the block does not exist.
  @see ViewBlock::get()
docstring_tokens: Fetch the content for a block . If a block is empty or undefined will be returned .