Detailed Description
Definition at line 29 of file lib.php.
Constructor & Destructor Documentation
Youtube plugin constructor
- Parameters:
-
| int | $repositoryid | |
| object | $context | |
| array | $options | |
Definition at line 37 of file lib.php.
Member Function Documentation
To check whether the user is logged in.
- Returns:
- boolean
Reimplemented from repository.
Definition at line 44 of file lib.php.
Given a path, and perhaps a search, get a list of files.
See details on http://docs.moodle.org/dev/Repository_plugins
- Parameters:
-
| string | $path,this | parameter can a folder name, or a identification of folder |
| string | $page,the | page number of file list |
- Returns:
- 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 issearchresult, is it a search result? list, file list path, current path and parent path
Reimplemented from repository.
Definition at line 105 of file lib.php.
Youtube plugin doesn't support global search
Reimplemented from repository.
Definition at line 101 of file lib.php.
Generate search form
Definition at line 112 of file lib.php.
Return search results
- Parameters:
-
- Returns:
- array
Reimplemented from repository.
Definition at line 53 of file lib.php.
file types supported by youtube plugin
- Returns:
- array
Reimplemented from repository.
Definition at line 152 of file lib.php.
Youtube plugin only return external links
- Returns:
- int
Reimplemented from repository.
Definition at line 160 of file lib.php.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/repository/youtube/lib.php