Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
"MDL-21443, update phpdocs"
  • Loading branch information
Dongsheng Cai committed Jan 29, 2010
1 parent d40fdeb commit 1a6195b
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions repository/lib.php
Expand Up @@ -798,11 +798,16 @@ public static function static_function($plugin, $function) {
* @global object $DB
* @global object $CFG
* @global object $USER
* @global object $OUTPUT
* @param string $filepath file path in download folder
* @param string $name file name
* @param integer $itemid item id to identify a file in filepool
* @param string $filearea file area
* @return array information of file in file pool
* @return array containing the following keys:
* icon
* file
* id
* url
*/
public static function move_to_filepool($thefile, $name, $itemid, $filepath = '/', $filearea = 'user_draft') {
global $DB, $CFG, $USER, $OUTPUT;
Expand Down Expand Up @@ -1453,7 +1458,20 @@ public function filter(&$value) {
*
* @param string $parent The parent path, this parameter can
* a folder name, or a identification of folder
* @return array the list of files, including meta infomation
* @return array the list of files, including meta infomation, containing the following keys
* manage, url to manage url
* client_id
* login, login form
* repo_id, active repository id
* login_btn_action, the login button action
* login_btn_label, the login button label
* total, number of results
* perpage, items per page
* page
* pages, total pages
* search_result, is it a search result?
* list, file list
* path, current path and parent path
*/
public function get_listing($path = '', $page = '') {
}
Expand Down

0 comments on commit 1a6195b

Please sign in to comment.