original_string: public function makePartial($partial, $params = [], $throwException = true)
      {
          $notRealPath = realpath($partial) === false || is_dir($partial) === true;
          if (!File::isPathSymbol($partial) && $notRealPath) {
              $folder = strpos($partial, '/') !== false ? dirname($partial) . '/' : '';
              $partial = $folder . '_' . strtolower(basename($partial)).'.htm';
          }
  
          $partialPath = $this->getViewPath($partial);
  
          if (!File::exists($partialPath)) {
              if ($throwException) {
                  throw new SystemException(Lang::get('backend::lang.partial.not_found_name', ['name' => $partialPath]));
              }
  
              return false;
          }
  
          return $this->makeFileContents($partialPath, $params);
      }
code: public function makePartial($partial, $params = [], $throwException = true)
      {
          $notRealPath = realpath($partial) === false || is_dir($partial) === true;
          if (!File::isPathSymbol($partial) && $notRealPath) {
              $folder = strpos($partial, '/') !== false ? dirname($partial) . '/' : '';
              $partial = $folder . '_' . strtolower(basename($partial)).'.htm';
          }
  
          $partialPath = $this->getViewPath($partial);
  
          if (!File::exists($partialPath)) {
              if ($throwException) {
                  throw new SystemException(Lang::get('backend::lang.partial.not_found_name', ['name' => $partialPath]));
              }
  
              return false;
          }
  
          return $this->makeFileContents($partialPath, $params);
      }
code_tokens: public function makePartial ( $ partial , $ params = [ ] , $ throwException = true ) { $ notRealPath = realpath ( $ partial ) === false || is_dir ( $ partial ) === true ; if ( ! File :: isPathSymbol ( $ partial ) && $ notRealPath ) { $ folder = strpos ( $ partial , '/' ) !== false ? dirname ( $ partial ) . '/' : '' ; $ partial = $ folder . '_' . strtolower ( basename ( $ partial ) ) . '.htm' ; } $ partialPath = $ this -> getViewPath ( $ partial ) ; if ( ! File :: exists ( $ partialPath ) ) { if ( $ throwException ) { throw new SystemException ( Lang :: get ( 'backend::lang.partial.not_found_name' , [ 'name' => $ partialPath ] ) ) ; } return false ; } return $ this -> makeFileContents ( $ partialPath , $ params ) ; }
docstring: Render a partial file contents located in the views folder.
  @param string $partial The view to load.
  @param array $params Parameter variables to pass to the view.
  @param bool $throwException Throw an exception if the partial is not found.
  @return mixed Partial contents or false if not throwing an exception.
docstring_tokens: Render a partial file contents located in the views folder .