original_string: protected function fetchSearchRegistry( $requireFresh = false )
      {
          $location = $this->properties['location'];
          if ( !is_array( $this->searchRegistry ) )
          {
              $this->searchRegistry = array();
          }
          if ( !isset( $this->searchRegistry[$location] )
               || !is_array( $this->searchRegistry[$location] ) )
          {
              $this->searchRegistry[$location] = array();
          }
  
          // Makes sure the registry exists
          if ( empty( $this->searchRegistry[$location] )
               || $requireFresh === true )
          {
              $this->searchRegistry[$location] = $this->backend->fetch( $this->registryName . '_' . urlencode( $location ) );
          }
      }
code: protected function fetchSearchRegistry( $requireFresh = false )
      {
          $location = $this->properties['location'];
          if ( !is_array( $this->searchRegistry ) )
          {
              $this->searchRegistry = array();
          }
          if ( !isset( $this->searchRegistry[$location] )
               || !is_array( $this->searchRegistry[$location] ) )
          {
              $this->searchRegistry[$location] = array();
          }
  
          // Makes sure the registry exists
          if ( empty( $this->searchRegistry[$location] )
               || $requireFresh === true )
          {
              $this->searchRegistry[$location] = $this->backend->fetch( $this->registryName . '_' . urlencode( $location ) );
          }
      }
code_tokens: protected function fetchSearchRegistry ( $ requireFresh = false ) { $ location = $ this -> properties [ 'location' ] ; if ( ! is_array ( $ this -> searchRegistry ) ) { $ this -> searchRegistry = array ( ) ; } if ( ! isset ( $ this -> searchRegistry [ $ location ] ) || ! is_array ( $ this -> searchRegistry [ $ location ] ) ) { $ this -> searchRegistry [ $ location ] = array ( ) ; } // Makes sure the registry exists if ( empty ( $ this -> searchRegistry [ $ location ] ) || $ requireFresh === true ) { $ this -> searchRegistry [ $ location ] = $ this -> backend -> fetch ( $ this -> registryName . '_' . urlencode ( $ location ) ) ; } }
docstring: Fetches the search registry from the backend or creates it if empty.
  
  @param bool $requireFresh To create a new search registry or not
docstring_tokens: Fetches the search registry from the backend or creates it if empty .