original_string: public function get_listing($path = '', $page = '') {
          global $CFG;
          $ret = array();
          $ret['nologin']  = true;
          $ret['nosearch'] = true;
          $ret['norefresh'] = true;
          $ret['list'] = array();
          $ret['dynload'] = false;
          $ret['upload'] = array('label'=>get_string('attachment', 'repository'), 'id'=>'repo-form');
          $ret['allowcaching'] = true; // indicates that result of get_listing() can be cached in filepicker.js
          return $ret;
      }
code: public function get_listing($path = '', $page = '') {
          global $CFG;
          $ret = array();
          $ret['nologin']  = true;
          $ret['nosearch'] = true;
          $ret['norefresh'] = true;
          $ret['list'] = array();
          $ret['dynload'] = false;
          $ret['upload'] = array('label'=>get_string('attachment', 'repository'), 'id'=>'repo-form');
          $ret['allowcaching'] = true; // indicates that result of get_listing() can be cached in filepicker.js
          return $ret;
      }
code_tokens: public function get_listing ( $ path = '' , $ page = '' ) { global $ CFG ; $ ret = array ( ) ; $ ret [ 'nologin' ] = true ; $ ret [ 'nosearch' ] = true ; $ ret [ 'norefresh' ] = true ; $ ret [ 'list' ] = array ( ) ; $ ret [ 'dynload' ] = false ; $ ret [ 'upload' ] = array ( 'label' => get_string ( 'attachment' , 'repository' ) , 'id' => 'repo-form' ) ; $ ret [ 'allowcaching' ] = true ; // indicates that result of get_listing() can be cached in filepicker.js return $ ret ; }
docstring: Return a upload form
  @return array
docstring_tokens: Return a upload form