|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct ($url= '') | |
| login ($user, $pass) | |
| logout () | |
| get_image_url ($titles) | |
| get_images_by_page ($title) | |
| get_thumb_url ($image_url, $orig_width, $orig_height, $thumb_width=75) | |
| search_images ($keyword) | |
Definition at line 30 of file wikimedia.php.
| __construct | ( | $ | url = '' | ) |
Definition at line 34 of file wikimedia.php.
| get_image_url | ( | $ | titles | ) |
Definition at line 64 of file wikimedia.php.
| get_images_by_page | ( | $ | title | ) |
Definition at line 85 of file wikimedia.php.
| get_thumb_url | ( | $ | image_url, |
| $ | orig_width, | ||
| $ | orig_height, | ||
| $ | thumb_width = 75 |
||
| ) |
Generate thumbnail URL from image URL.
| string | $image_url | |
| int | $orig_width | |
| int | $orig_height | |
| int | $thumb_width | object OUTPUT |
Definition at line 111 of file wikimedia.php.


| login | ( | $ | user, |
| $ | pass | ||
| ) |
Definition at line 44 of file wikimedia.php.
| logout | ( | ) |
Definition at line 59 of file wikimedia.php.
| search_images | ( | $ | keyword | ) |
Search for images and return photos array.
| string | $keyword |
Definition at line 144 of file wikimedia.php.
