Detailed Description
Definition at line 34 of file lib.php.
Constructor & Destructor Documentation
| __construct |
( |
$ |
repositoryid, |
|
|
$ |
context = SYSCONTEXTID, |
|
|
$ |
options = array(), |
|
|
$ |
readonly = 0 |
|
) |
| |
constructor method
object $CFG object $SESSION
- Parameters:
-
| int | $repositoryid | |
| int | $context | |
| array | $options | |
| boolean | $readonly | |
Reimplemented from repository.
Definition at line 48 of file lib.php.
Member Function Documentation
check if flickr account
- Returns:
- boolean
Reimplemented from repository.
Definition at line 120 of file lib.php.
object $CFG
- Parameters:
-
| string | $photo_id | |
| string | $file | |
- Returns:
- string
Reimplemented from repository.
Definition at line 414 of file lib.php.
Names of the instance settings
- Returns:
- array
Reimplemented from repository.
Definition at line 466 of file lib.php.
Return file URL, for most plugins, the parameter is the original url, but some plugins use a file id, so we need this function to convert file id to original url.
- Parameters:
-
| string | $url | the url of file |
- Returns:
- string
Reimplemented from repository.
Definition at line 393 of file lib.php.
return an image list
- Parameters:
-
- Returns:
- array
Reimplemented from repository.
Definition at line 314 of file lib.php.
get api_key from config table
- Parameters:
-
- Returns:
- mixed
Reimplemented from repository.
Definition at line 94 of file lib.php.
Names of the plugin settings
- Returns:
- array
Reimplemented from repository.
Definition at line 491 of file lib.php.
is global_search available?
- Returns:
- boolean
Reimplemented from repository.
Definition at line 108 of file lib.php.
Add Instance settings input to Moodle form
- Parameters:
-
Reimplemented from repository.
Definition at line 456 of file lib.php.
destroy session
- Returns:
- object
Reimplemented from repository.
Definition at line 200 of file lib.php.
is run when moodle administrator add the plugin
Reimplemented from repository.
Definition at line 498 of file lib.php.
construct login form
- Parameters:
-
- Returns:
- array
Reimplemented from repository.
Definition at line 130 of file lib.php.
Print a search form
- Returns:
- string
Reimplemented from repository.
Definition at line 383 of file lib.php.
| search |
( |
$ |
search_text, |
|
|
$ |
page = 1 |
|
) |
| |
search images on flickr
- Parameters:
-
- Returns:
- array
Definition at line 227 of file lib.php.
save api_key in config table
- Parameters:
-
- Returns:
- boolean
Reimplemented from repository.
Definition at line 80 of file lib.php.
what kind of files will be in this repository?
- Returns:
- array return '*' means this repository support any files, otherwise return mimetypes of files, it can be an array
Reimplemented from repository.
Definition at line 508 of file lib.php.
does it return a file url or a item_id
- Returns:
- string
Reimplemented from repository.
Definition at line 511 of file lib.php.
Add Plugin settings input to Moodle form
- Parameters:
-
Definition at line 474 of file lib.php.
Field Documentation
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/repository/flickr_public/lib.php