original_string: public function get($file)
      {
          $result = null;
          $this->hook->attach('help.get.before', $file, $result, $this);
  
          if (isset($result)) {
              return (array) $result;
          }
  
          $result = $this->getMeta($file);
  
          if (empty($result)) {
              return array();
          }
  
          $hash = gplcart_string_encode(gplcart_path_relative($file));
  
          $result += array(
              'file' => $file,
              'path' => "admin/help/$hash"
          );
  
          $this->hook->attach('help.get.after', $file, $result, $this);
          return (array) $result;
      }
code: public function get($file)
      {
          $result = null;
          $this->hook->attach('help.get.before', $file, $result, $this);
  
          if (isset($result)) {
              return (array) $result;
          }
  
          $result = $this->getMeta($file);
  
          if (empty($result)) {
              return array();
          }
  
          $hash = gplcart_string_encode(gplcart_path_relative($file));
  
          $result += array(
              'file' => $file,
              'path' => "admin/help/$hash"
          );
  
          $this->hook->attach('help.get.after', $file, $result, $this);
          return (array) $result;
      }
code_tokens: public function get ( $ file ) { $ result = null ; $ this -> hook -> attach ( 'help.get.before' , $ file , $ result , $ this ) ; if ( isset ( $ result ) ) { return ( array ) $ result ; } $ result = $ this -> getMeta ( $ file ) ; if ( empty ( $ result ) ) { return array ( ) ; } $ hash = gplcart_string_encode ( gplcart_path_relative ( $ file ) ) ; $ result += array ( 'file' => $ file , 'path' => "admin/help/$hash" ) ; $ this -> hook -> attach ( 'help.get.after' , $ file , $ result , $ this ) ; return ( array ) $ result ; }
docstring: Returns an array of help data from the file
  @param string $file
  @return array
docstring_tokens: Returns an array of help data from the file