original_string: public function get($name = null, $default = null, $type = null)
      {
          $get = $this->request['get'];
          gplcart_array_trim($get, true);
  
          if (isset($name)) {
              $result = gplcart_array_get($get, $name);
              $return = isset($result) ? $result : $default;
          } else {
              $return = $get;
          }
  
          gplcart_settype($return, $type, $default);
          return $return;
      }
code: public function get($name = null, $default = null, $type = null)
      {
          $get = $this->request['get'];
          gplcart_array_trim($get, true);
  
          if (isset($name)) {
              $result = gplcart_array_get($get, $name);
              $return = isset($result) ? $result : $default;
          } else {
              $return = $get;
          }
  
          gplcart_settype($return, $type, $default);
          return $return;
      }
code_tokens: public function get ( $ name = null , $ default = null , $ type = null ) { $ get = $ this -> request [ 'get' ] ; gplcart_array_trim ( $ get , true ) ; if ( isset ( $ name ) ) { $ result = gplcart_array_get ( $ get , $ name ) ; $ return = isset ( $ result ) ? $ result : $ default ; } else { $ return = $ get ; } gplcart_settype ( $ return , $ type , $ default ) ; return $ return ; }
docstring: Returns a data from GET request
  @param string $name
  @param mixed $default
  @param null|string $type
  @return mixed
docstring_tokens: Returns a data from GET request