| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Microsoft Live Skydrive Repository Plugin
| Author: | Dan Poltawski <dan.poltawski@luns.net.uk> |
| Copyright: | 2012 Lancaster University Network Services Ltd |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 211 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file repository/skydrive/microsoftliveapi.php |
repository_skydrive:: (11 methods):
__construct()
check_login()
print_login()
get_listing()
get_file()
get_type_option_names()
type_config_form()
logout()
global_search()
supported_filetypes()
supported_returntypes()
Class: repository_skydrive - X-Ref
Microsoft skydrive repository plugin.| __construct($repositoryid, $context = SYSCONTEXTID, $options = array() X-Ref |
| Constructor param: int $repositoryid repository instance id. param: int|stdClass $context a context id or context object. param: array $options repository options. |
| check_login() X-Ref |
| Checks whether the user is logged in or not. return: bool true when logged in |
| print_login() X-Ref |
| Print the login form, if required return: array of login options |
| get_listing($path='', $page = '') X-Ref |
| Given a path, and perhaps a search, get a list of files. See details on {@link http://docs.moodle.org/dev/Repository_plugins} param: string $path identifier for current path param: string $page the page number of file list return: array list of files including meta information as specified by parent. |
| get_file($id, $filename = '') X-Ref |
| Downloads a repository file and saves to a path. param: string $id identifier of file param: string $filename to save file as return: array with keys: |
| get_type_option_names() X-Ref |
| Return names of the options to display in the repository form return: array of option names |
| type_config_form($mform, $classname = 'repository') X-Ref |
| Setup repistory form. param: moodleform $mform Moodle form (passed by reference) param: string $classname repository class name |
| logout() X-Ref |
| Logout from repository instance and return login form. return: page to display |
| global_search() X-Ref |
| This repository doesn't support global search. return: bool if supports global search |
| supported_filetypes() X-Ref |
| This repoistory supports any filetype. return: string '*' means this repository support any files |
| supported_returntypes() X-Ref |
| This repostiory only supports internal files return: int return type bitmask supported |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |