forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
124 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
* This script 'remotely' executes the reflection methods on a remote Moodle, | ||
* and publishes the details of the available services | ||
* | ||
* @package core | ||
* @subpackage mnet | ||
* @author Donal McMullan [email protected] | ||
* @version 0.0.1 | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2235,9 +2235,10 @@ function file_modify_html_header($text) { | |
* $html = $c->put('http://example.com/', array('file'=>'/var/www/test.txt'); | ||
* </code> | ||
* | ||
* @package moodlecore | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License | ||
* @package core | ||
* @subpackage file | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License | ||
*/ | ||
|
||
class curl { | ||
|
@@ -2743,10 +2744,10 @@ public function get_info() { | |
* $ret = $c->get('http://www.google.com'); | ||
* </code> | ||
* | ||
* @package moodlecore | ||
* @package core | ||
* @subpackage file | ||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class curl_cache { | ||
/** @var string */ | ||
|
@@ -2865,10 +2866,10 @@ public function refresh(){ | |
* extensions by file types. | ||
* The file_types.mm file can be edited by freemind in graphic environment. | ||
* | ||
* @package moodlecore | ||
* @package core | ||
* @subpackage file | ||
* @copyright 2009 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @copyright 2009 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class filetype_parser { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,12 @@ | |
* repository_alfresco class | ||
* This is a class used to browse files from alfresco | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @since 2.0 | ||
* @package repository | ||
* @subpackage alfresco | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
class repository_alfresco extends repository { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,11 @@ | |
* This is a subclass of repository class | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage boxnet | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class repository_boxnet extends repository { | ||
private $box; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ | |
* repository_coursefiles class is used to browse course files | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2010 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage coursefiles | ||
* @copyright 2010 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
class repository_coursefiles extends repository { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,11 +25,11 @@ | |
* http://code.google.com/p/dropbox-php/ has the same problem | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2010 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage dropbox | ||
* @copyright 2010 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
require_once(dirname(__FILE__).'/locallib.php'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ | |
* A helper class to access dropbox resources | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2010 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage dropbox | ||
* @copyright 2010 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,11 @@ | |
* which is %moodledata%/repository | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage filesystem | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class repository_filesystem extends repository { | ||
public function __construct($repositoryid, $context = SYSCONTEXTID, $options = array()) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ | |
* This plugin is used to access user's private flickr repository | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage flickr | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
require_once($CFG->libdir.'/flickrlib.php'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,10 @@ | |
/** | ||
* moodle_image class | ||
* | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License | ||
* @package repository | ||
* @subpackage flickr_public | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License | ||
*/ | ||
class moodle_image { | ||
private $imagepath; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,11 @@ | |
* flickr photos from this plugin | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage flickr_public | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
require_once($CFG->libdir.'/flickrlib.php'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ | |
* Google Docs Plugin | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dan Poltawski <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage googledocs | ||
* @copyright 2009 Dan Poltawski <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
require_once($CFG->libdir.'/googleapi.php'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ | |
* repository_local class is used to browse moodle files | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage local | ||
* @copyright 2009 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
class repository_local extends repository { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,11 @@ | |
* repository_merlot is used to search merlot.org in moodle | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage merlot | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class repository_merlot extends repository { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,11 @@ | |
* Picasa Repository Plugin | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dan Poltawski | ||
* @author Dan Poltawski <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage picasa | ||
* @copyright 2009 Dan Poltawski | ||
* @author Dan Poltawski <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
require_once($CFG->libdir.'/googleapi.php'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ | |
* repository_recent class is used to browse recent used files | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2010 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage recent | ||
* @copyright 2010 Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
define('DEFAULT_RECENT_FILES_NUM', 50); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ | |
* This is a repository class used to browse Amazon S3 content. | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage s3 | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
require_once('S3.php'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,11 @@ | |
* A repository plugin to allow user uploading files | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage upload | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
class repository_upload extends repository { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ | |
* A subclass of repository, which is used to download a file from a specific url | ||
* | ||
* @since 2.0 | ||
* @package moodlecore | ||
* @subpackage repository | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @package repository | ||
* @subpackage url | ||
* @copyright 2009 Dongsheng Cai | ||
* @author Dongsheng Cai <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
require_once(dirname(__FILE__).'/locallib.php'); | ||
|
Oops, something went wrong.