original_string: public function render($view, $params = array()) {
          $viewPath = $this->viewPath;
          $viewPath = rtrim($viewPath, '/').'/';
          extract($params);
          if (is_file($view)) {
              require_once($view);
          } else if (is_file($viewPath.str_replace(':', '/', $view))) {
              require_once($viewPath.str_replace(':', '/', $view));
          } else {
              echo $view;
          }
      }
code: public function render($view, $params = array()) {
          $viewPath = $this->viewPath;
          $viewPath = rtrim($viewPath, '/').'/';
          extract($params);
          if (is_file($view)) {
              require_once($view);
          } else if (is_file($viewPath.str_replace(':', '/', $view))) {
              require_once($viewPath.str_replace(':', '/', $view));
          } else {
              echo $view;
          }
      }
code_tokens: public function render ( $ view , $ params = array ( ) ) { $ viewPath = $ this -> viewPath ; $ viewPath = rtrim ( $ viewPath , '/' ) . '/' ; extract ( $ params ) ; if ( is_file ( $ view ) ) { require_once ( $ view ) ; } else if ( is_file ( $ viewPath . str_replace ( ':' , '/' , $ view ) ) ) { require_once ( $ viewPath . str_replace ( ':' , '/' , $ view ) ) ; } else { echo $ view ; } }
docstring: Render the content of view file or text
  
  @param string View path of view file or text
  @param array View parameters
  
  @return string
docstring_tokens: Render the content of view file or text