MDL-45618 Fix @since PHPdoc tags.

This commit is contained in:
Tim Hunt 2014-05-19 17:03:04 +01:00
parent a929fd50f9
commit 5bcfd504df
110 changed files with 191 additions and 191 deletions

View file

@ -17,7 +17,7 @@
/** /**
* This file is used to display a categories sub categories, external pages, and settings. * This file is used to display a categories sub categories, external pages, and settings.
* *
* @since 2.3 * @since Moodle 2.3
* @package admin * @package admin
* @copyright 2011 Sam Hemelryk * @copyright 2011 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -18,7 +18,7 @@
/** /**
* This file contains functions used by the admin pages * This file contains functions used by the admin pages
* *
* @since 2.1 * @since Moodle 2.1
* @package admin * @package admin
* @copyright 2011 Andrew Davis * @copyright 2011 Andrew Davis
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This file contains the mnet services for the mnet authentication plugin * This file contains the mnet services for the mnet authentication plugin
* *
* @since 2.0 * @since Moodle 2.0
* @package auth_mnet * @package auth_mnet
* @copyright 2010 Penny Leach * @copyright 2010 Penny Leach
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -232,7 +232,7 @@ abstract class backup_general_helper extends backup_helper {
* *
* @param string $filepath absolute path to the MBZ file. * @param string $filepath absolute path to the MBZ file.
* @return stdClass containing information. * @return stdClass containing information.
* @since 2.4 * @since Moodle 2.4
*/ */
public static function get_backup_information_from_mbz($filepath) { public static function get_backup_information_from_mbz($filepath) {
global $CFG; global $CFG;

View file

@ -31,7 +31,7 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_community * @package block_community
* @copyright 2010 Jerome Mouneyrac * @copyright 2010 Jerome Mouneyrac
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -31,7 +31,7 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_completionstatus * @package block_completionstatus
* @copyright 2012 Mark Nelson <markn@moodle.com> * @copyright 2012 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -31,7 +31,7 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_course_summary * @package block_course_summary
* @copyright 2012 Mark Nelson <markn@moodle.com> * @copyright 2012 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This file keeps track of upgrades to the html block * This file keeps track of upgrades to the html block
* *
* @since 2.0 * @since Moodle 2.0
* @package block_html * @package block_html
* @copyright 2010 Dongsheng Cai * @copyright 2010 Dongsheng Cai
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -18,7 +18,7 @@
* This file contains classes used to manage the navigation structures in Moodle * This file contains classes used to manage the navigation structures in Moodle
* and was introduced as part of the changes occuring in Moodle 2.0 * and was introduced as part of the changes occuring in Moodle 2.0
* *
* @since 2.0 * @since Moodle 2.0
* @package block_navigation * @package block_navigation
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -31,7 +31,7 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_navigation * @package block_navigation
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Form for editing global navigation instances. * Form for editing global navigation instances.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_navigation * @package block_navigation
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -18,7 +18,7 @@
/** /**
* This file contains language strings used in the global navigation block * This file contains language strings used in the global navigation block
* *
* @since 2.0 * @since Moodle 2.0
* @package block_navigation * @package block_navigation
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Outputs the navigation tree. * Outputs the navigation tree.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_navigation * @package block_navigation
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -31,7 +31,7 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @since 2.5 * @since Moodle 2.5
* @package block_section_links * @package block_section_links
* @copyright 2013 Sam Hemelryk * @copyright 2013 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Renderer for the section links block. * Renderer for the section links block.
* *
* @since 2.5 * @since Moodle 2.5
* @package block_section_links * @package block_section_links
* @copyright 2013 Sam Hemelryk * @copyright 2013 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -31,7 +31,7 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_selfcompletion * @package block_selfcompletion
* @copyright 2012 Mark Nelson <markn@moodle.com> * @copyright 2012 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -18,7 +18,7 @@
* This file contains classes used to manage the navigation structures in Moodle * This file contains classes used to manage the navigation structures in Moodle
* and was introduced as part of the changes occuring in Moodle 2.0 * and was introduced as part of the changes occuring in Moodle 2.0
* *
* @since 2.0 * @since Moodle 2.0
* @package block_settings * @package block_settings
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -31,7 +31,7 @@
* Please do not forget to use upgrade_set_timeout() * Please do not forget to use upgrade_set_timeout()
* before any action that may take longer time to finish. * before any action that may take longer time to finish.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_settings * @package block_settings
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Form for editing settings navigation instances. * Form for editing settings navigation instances.
* *
* @since 2.0 * @since Moodle 2.0
* @package block_settings * @package block_settings
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -18,7 +18,7 @@
/** /**
* This file contains language strings used in the settings navigation block * This file contains language strings used in the settings navigation block
* *
* @since 2.0 * @since Moodle 2.0
* @package block_settings * @package block_settings
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -205,7 +205,7 @@ class cache_definition {
/** /**
* Gets set to true if this definition requires searchable stores. * Gets set to true if this definition requires searchable stores.
* @since 2.4.4 * @since Moodle 2.4.4
* @var bool * @var bool
*/ */
protected $requiresearchable = false; protected $requiresearchable = false;
@ -734,7 +734,7 @@ class cache_definition {
/** /**
* Returns true if this definition requires a searchable cache. * Returns true if this definition requires a searchable cache.
* @since 2.4.4 * @since Moodle 2.4.4
* @return bool * @return bool
*/ */
public function require_searchable() { public function require_searchable() {

View file

@ -309,7 +309,7 @@ class cache_factory {
/** /**
* Returns the cache instances that have been used within this request. * Returns the cache instances that have been used within this request.
* @since 2.6 * @since Moodle 2.6
* @return array * @return array
*/ */
public function get_caches_in_use() { public function get_caches_in_use() {

View file

@ -344,7 +344,7 @@ interface cache_is_key_aware {
* Cache stores can choose to implement this interface. * Cache stores can choose to implement this interface.
* In order for a store to be usable as a session cache it must implement this interface. * In order for a store to be usable as a session cache it must implement this interface.
* *
* @since 2.4.4 * @since Moodle 2.4.4
*/ */
interface cache_is_searchable { interface cache_is_searchable {
/** /**

View file

@ -892,7 +892,7 @@ class cache implements cache_loader {
/** /**
* Returns the loader associated with this instance. * Returns the loader associated with this instance.
* *
* @since 2.4.4 * @since Moodle 2.4.4
* @return cache|false * @return cache|false
*/ */
protected function get_loader() { protected function get_loader() {
@ -902,7 +902,7 @@ class cache implements cache_loader {
/** /**
* Returns the data source associated with this cache. * Returns the data source associated with this cache.
* *
* @since 2.4.4 * @since Moodle 2.4.4
* @return cache_data_source|false * @return cache_data_source|false
*/ */
protected function get_datasource() { protected function get_datasource() {

View file

@ -87,7 +87,7 @@ interface cache_store_interface {
* All cache store plugins must extend this base class. * All cache store plugins must extend this base class.
* It lays down the foundation for what is required of a cache store plugin. * It lays down the foundation for what is required of a cache store plugin.
* *
* @since 2.4 * @since Moodle 2.4
* @package core * @package core
* @category cache * @category cache
* @copyright 2012 Sam Hemelryk * @copyright 2012 Sam Hemelryk
@ -256,7 +256,7 @@ abstract class cache_store implements cache_store_interface {
/** /**
* Performs any necessary operation when the store instance has been created. * Performs any necessary operation when the store instance has been created.
* *
* @since 2.5 * @since Moodle 2.5
*/ */
public function instance_created() { public function instance_created() {
// By default, do nothing. // By default, do nothing.
@ -267,7 +267,7 @@ abstract class cache_store implements cache_store_interface {
* *
* This method may be called before the store has been initialised. * This method may be called before the store has been initialised.
* *
* @since 2.5 * @since Moodle 2.5
* @see cleanup() * @see cleanup()
*/ */
public function instance_deleted() { public function instance_deleted() {

View file

@ -269,7 +269,7 @@ abstract class format_base {
* So if 'Return to course' does not make sense in your format your should probably return false. * So if 'Return to course' does not make sense in your format your should probably return false.
* *
* @return boolean * @return boolean
* @since 2.6 * @since Moodle 2.6
*/ */
public function has_view_page() { public function has_view_page() {
return true; return true;

View file

@ -17,7 +17,7 @@
/** /**
* This file contains main class for the course format Social * This file contains main class for the course format Social
* *
* @since 2.0 * @since Moodle 2.0
* @package format_social * @package format_social
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This file contains main class for the course format Topic * This file contains main class for the course format Topic
* *
* @since 2.0 * @since Moodle 2.0
* @package format_topics * @package format_topics
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This file contains main class for the course format Weeks * This file contains main class for the course format Weeks
* *
* @since 2.0 * @since Moodle 2.0
* @package format_weeks * @package format_weeks
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -1645,7 +1645,7 @@ function set_coursemodule_visible($id, $visible) {
* event to the DB. * event to the DB.
* *
* @param int $cmid the course module id * @param int $cmid the course module id
* @since 2.5 * @since Moodle 2.5
*/ */
function course_delete_module($cmid) { function course_delete_module($cmid) {
global $CFG, $DB; global $CFG, $DB;

View file

@ -18,7 +18,7 @@
/** /**
* This file contains functions used by course reports * This file contains functions used by course reports
* *
* @since 2.1 * @since Moodle 2.1
* @package coursereport * @package coursereport
* @copyright 2011 Andrew Davis * @copyright 2011 Andrew Davis
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -23,7 +23,7 @@
* The reason that we created this file was so that user didn't get redirected back * The reason that we created this file was so that user didn't get redirected back
* to the course view page only to be redirected again. * to the course view page only to be redirected again.
* *
* @since 2.0 * @since Moodle 2.0
* @package course * @package course
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -20,7 +20,7 @@
* If we rewrite MNet as proposed in MDL-21993 this file would contain * If we rewrite MNet as proposed in MDL-21993 this file would contain
* just a declaration of xml-rpc methods that this plugin publishes. * just a declaration of xml-rpc methods that this plugin publishes.
* *
* @since 2.0 * @since Moodle 2.0
* @package enrol_mnet * @package enrol_mnet
* @copyright 2010 Penny Leach * @copyright 2010 Penny Leach
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -1269,7 +1269,7 @@ function reload_all_capabilities() {
* Useful for the "temporary guest" access we grant to logged-in users. * Useful for the "temporary guest" access we grant to logged-in users.
* This is useful for enrol plugins only. * This is useful for enrol plugins only.
* *
* @since 2.2 * @since Moodle 2.2
* @param context_course $coursecontext * @param context_course $coursecontext
* @param int $roleid * @param int $roleid
* @return void * @return void
@ -1309,7 +1309,7 @@ function load_temp_course_role(context_course $coursecontext, $roleid) {
* Removes any extra guest roles from current USER->access array. * Removes any extra guest roles from current USER->access array.
* This is useful for enrol plugins only. * This is useful for enrol plugins only.
* *
* @since 2.2 * @since Moodle 2.2
* @param context_course $coursecontext * @param context_course $coursecontext
* @return void * @return void
*/ */
@ -4975,7 +4975,7 @@ function role_change_permission($roleid, $context, $capname, $permission) {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
* *
* @property-read int $id context id * @property-read int $id context id
* @property-read int $contextlevel CONTEXT_SYSTEM, CONTEXT_COURSE, etc. * @property-read int $contextlevel CONTEXT_SYSTEM, CONTEXT_COURSE, etc.
@ -5786,7 +5786,7 @@ abstract class context extends stdClass implements IteratorAggregate {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
*/ */
class context_helper extends context { class context_helper extends context {
@ -6062,7 +6062,7 @@ class context_helper extends context {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
*/ */
class context_system extends context { class context_system extends context {
/** /**
@ -6303,7 +6303,7 @@ class context_system extends context {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
*/ */
class context_user extends context { class context_user extends context {
/** /**
@ -6487,7 +6487,7 @@ class context_user extends context {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
*/ */
class context_coursecat extends context { class context_coursecat extends context {
/** /**
@ -6716,7 +6716,7 @@ class context_coursecat extends context {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
*/ */
class context_course extends context { class context_course extends context {
/** /**
@ -6935,7 +6935,7 @@ class context_course extends context {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
*/ */
class context_module extends context { class context_module extends context {
/** /**
@ -7174,7 +7174,7 @@ class context_module extends context {
* @category access * @category access
* @copyright Petr Skoda {@link http://skodak.org} * @copyright Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.2 * @since Moodle 2.2
*/ */
class context_block extends context { class context_block extends context {
/** /**

View file

@ -19,7 +19,7 @@
* This file is used to deliver a branch from the navigation structure * This file is used to deliver a branch from the navigation structure
* in XML format back to a page from an AJAX call * in XML format back to a page from an AJAX call
* *
* @since 2.0 * @since Moodle 2.0
* @package core * @package core
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -19,7 +19,7 @@
* This file is used to deliver a branch from the site administration * This file is used to deliver a branch from the site administration
* in XML format back to a page from an AJAX call * in XML format back to a page from an AJAX call
* *
* @since 2.6 * @since Moodle 2.6
* @package core * @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com> * @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -518,7 +518,7 @@ class auth_plugin_base {
* authentication method manually is allowed. * authentication method manually is allowed.
* *
* @return bool * @return bool
* @since 2.6 * @since Moodle 2.6
*/ */
function can_be_manually_set() { function can_be_manually_set() {
// Override if needed. // Override if needed.

View file

@ -256,7 +256,7 @@ class core_text {
* @param string $needle The string to find in haystack. * @param string $needle The string to find in haystack.
* @param boolean $part If true, returns the portion before needle, else return the portion after (including needle). * @param boolean $part If true, returns the portion before needle, else return the portion after (including needle).
* @return string|false False when not found. * @return string|false False when not found.
* @since 2.4.6, 2.5.2, 2.6 * @since Moodle 2.4.6, 2.5.2, 2.6
*/ */
public static function strrchr($haystack, $needle, $part = false) { public static function strrchr($haystack, $needle, $part = false) {

View file

@ -1617,7 +1617,7 @@ abstract class moodle_database {
* This method is intended for inserting of large number of small objects, * This method is intended for inserting of large number of small objects,
* do not use for huge objects with text or binary fields. * do not use for huge objects with text or binary fields.
* *
* @since 2.7 * @since Moodle 2.7
* *
* @param string $table The database table to be inserted into * @param string $table The database table to be inserted into
* @param array|Traversable $dataobjects list of objects to be inserted, must be compatible with foreach * @param array|Traversable $dataobjects list of objects to be inserted, must be compatible with foreach
@ -2229,7 +2229,7 @@ abstract class moodle_database {
/** /**
* Does this driver support tool_replace? * Does this driver support tool_replace?
* *
* @since 2.6.1 * @since Moodle 2.6.1
* @return bool * @return bool
*/ */
public function replace_all_text_supported() { public function replace_all_text_supported() {
@ -2239,7 +2239,7 @@ abstract class moodle_database {
/** /**
* Replace given text in all rows of column. * Replace given text in all rows of column.
* *
* @since 2.6.1 * @since Moodle 2.6.1
* @param string $table name of the table * @param string $table name of the table
* @param database_column_info $column * @param database_column_info $column
* @param string $search * @param string $search

View file

@ -1266,7 +1266,7 @@ s only returning name of SQL substring function, it now requires all parameters.
/** /**
* Does this driver support tool_replace? * Does this driver support tool_replace?
* *
* @since 2.6.1 * @since Moodle 2.6.1
* @return bool * @return bool
*/ */
public function replace_all_text_supported() { public function replace_all_text_supported() {

View file

@ -1153,7 +1153,7 @@ class mysqli_native_moodle_database extends moodle_database {
* This method is intended for inserting of large number of small objects, * This method is intended for inserting of large number of small objects,
* do not use for huge objects with text or binary fields. * do not use for huge objects with text or binary fields.
* *
* @since 2.7 * @since Moodle 2.7
* *
* @param string $table The database table to be inserted into * @param string $table The database table to be inserted into
* @param array|Traversable $dataobjects list of objects to be inserted, must be compatible with foreach * @param array|Traversable $dataobjects list of objects to be inserted, must be compatible with foreach
@ -1535,7 +1535,7 @@ class mysqli_native_moodle_database extends moodle_database {
/** /**
* Does this driver support tool_replace? * Does this driver support tool_replace?
* *
* @since 2.6.1 * @since Moodle 2.6.1
* @return bool * @return bool
*/ */
public function replace_all_text_supported() { public function replace_all_text_supported() {

View file

@ -950,7 +950,7 @@ class pgsql_native_moodle_database extends moodle_database {
* This method is intended for inserting of large number of small objects, * This method is intended for inserting of large number of small objects,
* do not use for huge objects with text or binary fields. * do not use for huge objects with text or binary fields.
* *
* @since 2.7 * @since Moodle 2.7
* *
* @param string $table The database table to be inserted into * @param string $table The database table to be inserted into
* @param array|Traversable $dataobjects list of objects to be inserted, must be compatible with foreach * @param array|Traversable $dataobjects list of objects to be inserted, must be compatible with foreach
@ -1345,7 +1345,7 @@ class pgsql_native_moodle_database extends moodle_database {
/** /**
* Does this driver support tool_replace? * Does this driver support tool_replace?
* *
* @since 2.6.1 * @since Moodle 2.6.1
* @return bool * @return bool
*/ */
public function replace_all_text_supported() { public function replace_all_text_supported() {

View file

@ -1333,7 +1333,7 @@ class sqlsrv_native_moodle_database extends moodle_database {
/** /**
* Does this driver support tool_replace? * Does this driver support tool_replace?
* *
* @since 2.6.1 * @since Moodle 2.6.1
* @return bool * @return bool
*/ */
public function replace_all_text_supported() { public function replace_all_text_supported() {

View file

@ -45,7 +45,7 @@ class core_external extends external_api {
* *
* @param array $stringparams * @param array $stringparams
* @return object|string * @return object|string
* @since 2.4 * @since Moodle 2.4
*/ */
public static function format_string_parameters($stringparams) { public static function format_string_parameters($stringparams) {
// Check if there are some string params. // Check if there are some string params.

View file

@ -694,7 +694,7 @@ class external_format_value extends external_value {
* @param array $format the format to validate * @param array $format the format to validate
* @return the validated format * @return the validated format
* @throws coding_exception * @throws coding_exception
* @since 2.3 * @since Moodle 2.3
*/ */
function external_validate_format($format) { function external_validate_format($format) {
$allowedformats = array(FORMAT_HTML, FORMAT_MOODLE, FORMAT_PLAIN, FORMAT_MARKDOWN); $allowedformats = array(FORMAT_HTML, FORMAT_MOODLE, FORMAT_PLAIN, FORMAT_MARKDOWN);

View file

@ -541,7 +541,7 @@ function file_get_draft_area_info($draftitemid, $filepath = '/') {
* @param int $newfilesize the size that would be added to the current area. * @param int $newfilesize the size that would be added to the current area.
* @param bool $includereferences true to include the size of the references in the area size. * @param bool $includereferences true to include the size of the references in the area size.
* @return bool true if the area will/has exceeded its limit. * @return bool true if the area will/has exceeded its limit.
* @since 2.4 * @since Moodle 2.4
*/ */
function file_is_draft_area_limit_reached($draftitemid, $areamaxbytes, $newfilesize = 0, $includereferences = false) { function file_is_draft_area_limit_reached($draftitemid, $areamaxbytes, $newfilesize = 0, $includereferences = false) {
if ($areamaxbytes != FILE_AREA_MAX_BYTES_UNLIMITED) { if ($areamaxbytes != FILE_AREA_MAX_BYTES_UNLIMITED) {

View file

@ -199,7 +199,7 @@ class file_storage {
* @param string $filename the file name. * @param string $filename the file name.
* @return string available file name. * @return string available file name.
* @throws coding_exception if the file name is invalid. * @throws coding_exception if the file name is invalid.
* @since 2.5 * @since Moodle 2.5
*/ */
public function get_unused_filename($contextid, $component, $filearea, $itemid, $filepath, $filename) { public function get_unused_filename($contextid, $component, $filearea, $itemid, $filepath, $filename) {
global $DB; global $DB;
@ -280,7 +280,7 @@ class file_storage {
* @param int $itemid area item ID. * @param int $itemid area item ID.
* @param string $suggestedpath the suggested file path. * @param string $suggestedpath the suggested file path.
* @return string available file path * @return string available file path
* @since 2.5 * @since Moodle 2.5
*/ */
public function get_unused_dirname($contextid, $component, $filearea, $itemid, $suggestedpath) { public function get_unused_dirname($contextid, $component, $filearea, $itemid, $suggestedpath) {
global $DB; global $DB;

View file

@ -247,7 +247,7 @@ class filter_manager {
* *
* @param moodle_page $page the page we are going to add requirements to. * @param moodle_page $page the page we are going to add requirements to.
* @param context $context the context which contents are going to be filtered. * @param context $context the context which contents are going to be filtered.
* @since 2.3 * @since Moodle 2.3
*/ */
public function setup_page_for_filters($page, $context) { public function setup_page_for_filters($page, $context) {
$filters = $this->get_text_filters($context); $filters = $this->get_text_filters($context);
@ -409,7 +409,7 @@ abstract class moodle_text_filter {
* *
* @param moodle_page $page the page we are going to add requirements to. * @param moodle_page $page the page we are going to add requirements to.
* @param context $context the context which contents are going to be filtered. * @param context $context the context which contents are going to be filtered.
* @since 2.3 * @since Moodle 2.3
*/ */
public function setup($page, $context) { public function setup($page, $context) {
// Override me, if needed. // Override me, if needed.

View file

@ -67,7 +67,7 @@ class MoodleQuickForm_text extends HTML_QuickForm_text{
/** /**
* Freeze the element so that only its value is returned and set persistantfreeze to false * Freeze the element so that only its value is returned and set persistantfreeze to false
* *
* @since 2.4 * @since Moodle 2.4
* @access public * @access public
* @return void * @return void
*/ */
@ -81,7 +81,7 @@ class MoodleQuickForm_text extends HTML_QuickForm_text{
/** /**
* Returns the html to be used when the element is frozen * Returns the html to be used when the element is frozen
* *
* @since 2.4 * @since Moodle 2.4
* @return string Frozen html * @return string Frozen html
*/ */
function getFrozenHtml() function getFrozenHtml()

View file

@ -183,7 +183,7 @@ class moodle_google_curlio extends Google_CurlIO {
* @param int $constant value of a CURL constant. * @param int $constant value of a CURL constant.
* @return string name of the constant if found, or throws exception. * @return string name of the constant if found, or throws exception.
* @throws coding_exception when the constant is not found. * @throws coding_exception when the constant is not found.
* @since 2.5 * @since Moodle 2.5
*/ */
public function get_option_name_from_constant($constant) { public function get_option_name_from_constant($constant) {
if (is_null(self::$constants)) { if (is_null(self::$constants)) {

View file

@ -1455,7 +1455,7 @@ function grade_floats_different($f1, $f2) {
* Do not use rounding for 10,5 at the database level as the results may be * Do not use rounding for 10,5 at the database level as the results may be
* different from php round() function. * different from php round() function.
* *
* @since 2.0 * @since Moodle 2.0
* @param float $f1 Float one to compare * @param float $f1 Float one to compare
* @param float $f2 Float two to compare * @param float $f2 Float two to compare
* @return bool True if the values should be considered as the same grades * @return bool True if the values should be considered as the same grades

View file

@ -19,7 +19,7 @@
/** /**
* A namespace contains license specific functions * A namespace contains license specific functions
* *
* @since 2.0 * @since Moodle 2.0
* @package core * @package core
* @subpackage lib * @subpackage lib
* @copyright 2010 Dongsheng Cai <dongsheng@moodle.com> * @copyright 2010 Dongsheng Cai <dongsheng@moodle.com>

View file

@ -2174,7 +2174,7 @@ function userdate($date, $format = '', $timezone = 99, $fixday = true, $fixhour
* @param string $format strftime format. * @param string $format strftime format.
* @param int|float $tz the numerical timezone, typically returned by {@link get_user_timezone_offset()}. * @param int|float $tz the numerical timezone, typically returned by {@link get_user_timezone_offset()}.
* @return string the formatted date/time. * @return string the formatted date/time.
* @since 2.3.3 * @since Moodle 2.3.3
*/ */
function date_format_string($date, $format, $tz = 99) { function date_format_string($date, $format, $tz = 99) {
global $CFG; global $CFG;

View file

@ -17,7 +17,7 @@
/** /**
* This file contains classes used to manage the navigation structures within Moodle. * This file contains classes used to manage the navigation structures within Moodle.
* *
* @since 2.0 * @since Moodle 2.0
* @package core * @package core
* @copyright 2009 Sam Hemelryk * @copyright 2009 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -697,7 +697,7 @@ class navigation_node implements renderable {
/** /**
* Hides the node and any children it has. * Hides the node and any children it has.
* *
* @since 2.5 * @since Moodle 2.5
* @param array $typestohide Optional. An array of node types that should be hidden. * @param array $typestohide Optional. An array of node types that should be hidden.
* If null all nodes will be hidden. * If null all nodes will be hidden.
* If an array is given then nodes will only be hidden if their type mtatches an element in the array. * If an array is given then nodes will only be hidden if their type mtatches an element in the array.
@ -1323,7 +1323,7 @@ class global_navigation extends navigation_node {
* other user being viewed this function returns false. * other user being viewed this function returns false.
* In order to set the user for whom we are checking against you must call {@link set_userid_for_parent_checks()} * In order to set the user for whom we are checking against you must call {@link set_userid_for_parent_checks()}
* *
* @since 2.4 * @since Moodle 2.4
* @return bool * @return bool
*/ */
protected function current_user_is_parent_role() { protected function current_user_is_parent_role() {

View file

@ -3224,7 +3224,7 @@ EOD;
/** /**
* Get the HTML for blocks in the given region. * Get the HTML for blocks in the given region.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @param string $region The region to get HTML for. * @param string $region The region to get HTML for.
* @return string HTML. * @return string HTML.
*/ */
@ -3271,7 +3271,7 @@ EOD;
/** /**
* Returns the CSS classes to apply to the body tag. * Returns the CSS classes to apply to the body tag.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @param array $additionalclasses Any additional classes to apply. * @param array $additionalclasses Any additional classes to apply.
* @return string * @return string
*/ */
@ -3301,7 +3301,7 @@ EOD;
/** /**
* The ID attribute to apply to the body tag. * The ID attribute to apply to the body tag.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @return string * @return string
*/ */
public function body_id() { public function body_id() {
@ -3311,7 +3311,7 @@ EOD;
/** /**
* Returns HTML attributes to use within the body tag. This includes an ID and classes. * Returns HTML attributes to use within the body tag. This includes an ID and classes.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @param string|array $additionalclasses Any additional classes to give the body tag, * @param string|array $additionalclasses Any additional classes to give the body tag,
* @return string * @return string
*/ */
@ -3325,7 +3325,7 @@ EOD;
/** /**
* Gets HTML for the page heading. * Gets HTML for the page heading.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @param string $tag The tag to encase the heading in. h1 by default. * @param string $tag The tag to encase the heading in. h1 by default.
* @return string HTML. * @return string HTML.
*/ */
@ -3336,7 +3336,7 @@ EOD;
/** /**
* Gets the HTML for the page heading button. * Gets the HTML for the page heading button.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @return string HTML. * @return string HTML.
*/ */
public function page_heading_button() { public function page_heading_button() {
@ -3346,7 +3346,7 @@ EOD;
/** /**
* Returns the Moodle docs link to use for this page. * Returns the Moodle docs link to use for this page.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @param string $text * @param string $text
* @return string * @return string
*/ */
@ -3364,7 +3364,7 @@ EOD;
/** /**
* Returns the page heading menu. * Returns the page heading menu.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @return string HTML. * @return string HTML.
*/ */
public function page_heading_menu() { public function page_heading_menu() {
@ -3374,7 +3374,7 @@ EOD;
/** /**
* Returns the title to use on the page. * Returns the title to use on the page.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @return string * @return string
*/ */
public function page_title() { public function page_title() {
@ -3384,7 +3384,7 @@ EOD;
/** /**
* Returns the URL for the favicon. * Returns the URL for the favicon.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @return string The favicon URL * @return string The favicon URL
*/ */
public function favicon() { public function favicon() {
@ -3853,7 +3853,7 @@ class core_media_renderer extends plugin_renderer_base {
* is running a maintenance related task. * is running a maintenance related task.
* It must always extend the core_renderer as we switch from the core_renderer to this renderer in a couple of places. * It must always extend the core_renderer as we switch from the core_renderer to this renderer in a couple of places.
* *
* @since 2.6 * @since Moodle 2.6
* @package core * @package core
* @category output * @category output
* @copyright 2013 Sam Hemelryk * @copyright 2013 Sam Hemelryk

View file

@ -642,7 +642,7 @@ class moodle_page {
/** /**
* Returns an array of minipulations or false if there are none to make. * Returns an array of minipulations or false if there are none to make.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @return bool|array * @return bool|array
*/ */
protected function magic_get_blockmanipulations() { protected function magic_get_blockmanipulations() {
@ -1906,7 +1906,7 @@ class moodle_page {
/** /**
* Returns the block region having made any required theme manipulations. * Returns the block region having made any required theme manipulations.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @param string $region * @param string $region
* @return string * @return string
*/ */

View file

@ -134,7 +134,7 @@ class pdf extends TCPDF {
* @param $name (string) The name of the file when saved. Note that special characters are removed and blanks characters are replaced with the underscore character. * @param $name (string) The name of the file when saved. Note that special characters are removed and blanks characters are replaced with the underscore character.
* @param $dest (string) Destination where to send the document. It can take one of the following values:<ul><li>I: send the file inline to the browser (default). The plug-in is used if available. The name given by name is used when one selects the "Save as" option on the link generating the PDF.</li><li>D: send to the browser and force a file download with the name given by name.</li><li>F: save to a local server file with the name given by name.</li><li>S: return the document as a string (name is ignored).</li><li>FI: equivalent to F + I option</li><li>FD: equivalent to F + D option</li><li>E: return the document as base64 mime multi-part email attachment (RFC 2045)</li></ul> * @param $dest (string) Destination where to send the document. It can take one of the following values:<ul><li>I: send the file inline to the browser (default). The plug-in is used if available. The name given by name is used when one selects the "Save as" option on the link generating the PDF.</li><li>D: send to the browser and force a file download with the name given by name.</li><li>F: save to a local server file with the name given by name.</li><li>S: return the document as a string (name is ignored).</li><li>FI: equivalent to F + I option</li><li>FD: equivalent to F + D option</li><li>E: return the document as base64 mime multi-part email attachment (RFC 2045)</li></ul>
* @public * @public
* @since 1.0 * @since Moodle 1.0
* @see Close() * @see Close()
*/ */
public function Output($name='doc.pdf', $dest='I') { public function Output($name='doc.pdf', $dest='I') {

View file

@ -18,7 +18,7 @@
/** /**
* plagiarismlib.php - Contains core Plagiarism related functions. * plagiarismlib.php - Contains core Plagiarism related functions.
* *
* @since 2.0 * @since Moodle 2.0
* @package moodlecore * @package moodlecore
* @subpackage plagiarism * @subpackage plagiarism
* @copyright 2010 Dan Marsden http://danmarsden.com * @copyright 2010 Dan Marsden http://danmarsden.com

View file

@ -588,7 +588,7 @@ EOD;
* @param array|stdClass $record data to use to up set the instance. * @param array|stdClass $record data to use to up set the instance.
* @param array $options options * @param array $options options
* @return stdClass repository instance record * @return stdClass repository instance record
* @since 2.5.1 * @since Moodle 2.5.1
*/ */
public function create_repository($type, $record=null, array $options = null) { public function create_repository($type, $record=null, array $options = null) {
$generator = $this->get_plugin_generator('repository_'.$type); $generator = $this->get_plugin_generator('repository_'.$type);
@ -602,7 +602,7 @@ EOD;
* @param array|stdClass $record data to use to up set the instance. * @param array|stdClass $record data to use to up set the instance.
* @param array $options options * @param array $options options
* @return repository_type object * @return repository_type object
* @since 2.5.1 * @since Moodle 2.5.1
*/ */
public function create_repository_type($type, $record=null, array $options = null) { public function create_repository_type($type, $record=null, array $options = null) {
$generator = $this->get_plugin_generator('repository_'.$type); $generator = $this->get_plugin_generator('repository_'.$type);

View file

@ -32,7 +32,7 @@ defined('MOODLE_INTERNAL') || die();
* @category test * @category test
* @copyright 2013 Frédéric Massart * @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.5.1 * @since Moodle 2.5.1
*/ */
class testing_repository_generator extends component_generator_base { class testing_repository_generator extends component_generator_base {

View file

@ -1999,7 +1999,7 @@ function upgrade_save_orphaned_questions() {
* @see backup_cron_automated_helper::remove_excess_backups() * @see backup_cron_automated_helper::remove_excess_backups()
* @link http://tracker.moodle.org/browse/MDL-35116 * @link http://tracker.moodle.org/browse/MDL-35116
* @return void * @return void
* @since 2.4 * @since Moodle 2.4
*/ */
function upgrade_rename_old_backup_files_using_shortname() { function upgrade_rename_old_backup_files_using_shortname() {
global $CFG; global $CFG;

View file

@ -973,7 +973,7 @@ function page_doc_link($text='') {
/** /**
* Returns the path to use when constructing a link to the docs. * Returns the path to use when constructing a link to the docs.
* *
* @since 2.5.1 2.6 * @since Moodle 2.5.1 2.6
* @param moodle_page $page * @param moodle_page $page
* @return string * @return string
*/ */

View file

@ -189,7 +189,7 @@ class core_message_external extends external_api {
* Create contacts parameters description. * Create contacts parameters description.
* *
* @return external_function_parameters * @return external_function_parameters
* @since 2.5 * @since Moodle 2.5
*/ */
public static function create_contacts_parameters() { public static function create_contacts_parameters() {
return new external_function_parameters( return new external_function_parameters(
@ -207,7 +207,7 @@ class core_message_external extends external_api {
* *
* @param array $userids array of user IDs. * @param array $userids array of user IDs.
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function create_contacts($userids) { public static function create_contacts($userids) {
$params = array('userids' => $userids); $params = array('userids' => $userids);
@ -231,7 +231,7 @@ class core_message_external extends external_api {
* Create contacts return description. * Create contacts return description.
* *
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function create_contacts_returns() { public static function create_contacts_returns() {
return new external_warnings(); return new external_warnings();
@ -241,7 +241,7 @@ class core_message_external extends external_api {
* Delete contacts parameters description. * Delete contacts parameters description.
* *
* @return external_function_parameters * @return external_function_parameters
* @since 2.5 * @since Moodle 2.5
*/ */
public static function delete_contacts_parameters() { public static function delete_contacts_parameters() {
return new external_function_parameters( return new external_function_parameters(
@ -259,7 +259,7 @@ class core_message_external extends external_api {
* *
* @param array $userids array of user IDs. * @param array $userids array of user IDs.
* @return null * @return null
* @since 2.5 * @since Moodle 2.5
*/ */
public static function delete_contacts($userids) { public static function delete_contacts($userids) {
$params = array('userids' => $userids); $params = array('userids' => $userids);
@ -276,7 +276,7 @@ class core_message_external extends external_api {
* Delete contacts return description. * Delete contacts return description.
* *
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function delete_contacts_returns() { public static function delete_contacts_returns() {
return null; return null;
@ -286,7 +286,7 @@ class core_message_external extends external_api {
* Block contacts parameters description. * Block contacts parameters description.
* *
* @return external_function_parameters * @return external_function_parameters
* @since 2.5 * @since Moodle 2.5
*/ */
public static function block_contacts_parameters() { public static function block_contacts_parameters() {
return new external_function_parameters( return new external_function_parameters(
@ -304,7 +304,7 @@ class core_message_external extends external_api {
* *
* @param array $userids array of user IDs. * @param array $userids array of user IDs.
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function block_contacts($userids) { public static function block_contacts($userids) {
$params = array('userids' => $userids); $params = array('userids' => $userids);
@ -328,7 +328,7 @@ class core_message_external extends external_api {
* Block contacts return description. * Block contacts return description.
* *
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function block_contacts_returns() { public static function block_contacts_returns() {
return new external_warnings(); return new external_warnings();
@ -338,7 +338,7 @@ class core_message_external extends external_api {
* Unblock contacts parameters description. * Unblock contacts parameters description.
* *
* @return external_function_parameters * @return external_function_parameters
* @since 2.5 * @since Moodle 2.5
*/ */
public static function unblock_contacts_parameters() { public static function unblock_contacts_parameters() {
return new external_function_parameters( return new external_function_parameters(
@ -356,7 +356,7 @@ class core_message_external extends external_api {
* *
* @param array $userids array of user IDs. * @param array $userids array of user IDs.
* @return null * @return null
* @since 2.5 * @since Moodle 2.5
*/ */
public static function unblock_contacts($userids) { public static function unblock_contacts($userids) {
$params = array('userids' => $userids); $params = array('userids' => $userids);
@ -373,7 +373,7 @@ class core_message_external extends external_api {
* Unblock contacts return description. * Unblock contacts return description.
* *
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function unblock_contacts_returns() { public static function unblock_contacts_returns() {
return null; return null;
@ -383,7 +383,7 @@ class core_message_external extends external_api {
* Get contacts parameters description. * Get contacts parameters description.
* *
* @return external_function_parameters * @return external_function_parameters
* @since 2.5 * @since Moodle 2.5
*/ */
public static function get_contacts_parameters() { public static function get_contacts_parameters() {
return new external_function_parameters(array()); return new external_function_parameters(array());
@ -394,7 +394,7 @@ class core_message_external extends external_api {
* *
* @param array $userids array of user IDs. * @param array $userids array of user IDs.
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function get_contacts() { public static function get_contacts() {
global $CFG; global $CFG;
@ -427,7 +427,7 @@ class core_message_external extends external_api {
* Get contacts return description. * Get contacts return description.
* *
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function get_contacts_returns() { public static function get_contacts_returns() {
return new external_single_structure( return new external_single_structure(
@ -476,7 +476,7 @@ class core_message_external extends external_api {
* Search contacts parameters description. * Search contacts parameters description.
* *
* @return external_function_parameters * @return external_function_parameters
* @since 2.5 * @since Moodle 2.5
*/ */
public static function search_contacts_parameters() { public static function search_contacts_parameters() {
return new external_function_parameters( return new external_function_parameters(
@ -494,7 +494,7 @@ class core_message_external extends external_api {
* @param string $searchtext query string. * @param string $searchtext query string.
* @param bool $onlymycourses limit the search to the user's courses only. * @param bool $onlymycourses limit the search to the user's courses only.
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function search_contacts($searchtext, $onlymycourses = false) { public static function search_contacts($searchtext, $onlymycourses = false) {
global $CFG, $USER; global $CFG, $USER;
@ -553,7 +553,7 @@ class core_message_external extends external_api {
* Search contacts return description. * Search contacts return description.
* *
* @return external_description * @return external_description
* @since 2.5 * @since Moodle 2.5
*/ */
public static function search_contacts_returns() { public static function search_contacts_returns() {
return new external_multiple_structure( return new external_multiple_structure(

View file

@ -663,7 +663,7 @@ function chat_update_chat_times($chatid=0) {
* @param bool $system False for non-system messages, true for system messages. * @param bool $system False for non-system messages, true for system messages.
* @param object $cm The course module object, pass it to save a database query when we trigger the event. * @param object $cm The course module object, pass it to save a database query when we trigger the event.
* @return int The message ID. * @return int The message ID.
* @since 2.6 * @since Moodle 2.6
*/ */
function chat_send_chatmessage($chatuser, $messagetext, $system = false, $cm = null) { function chat_send_chatmessage($chatuser, $messagetext, $system = false, $cm = null) {
global $DB; global $DB;

View file

@ -18,7 +18,7 @@
/** /**
* lib.php - Contains Plagiarism base class used by plugins. * lib.php - Contains Plagiarism base class used by plugins.
* *
* @since 2.0 * @since Moodle 2.0
* @package moodlecore * @package moodlecore
* @subpackage plagiarism * @subpackage plagiarism
* @copyright 2010 Dan Marsden http://danmarsden.com * @copyright 2010 Dan Marsden http://danmarsden.com

View file

@ -18,7 +18,7 @@
/** /**
* This file contains the mnet services for the mahara portfolio plugin * This file contains the mnet services for the mahara portfolio plugin
* *
* @since 2.0 * @since Moodle 2.0
* @package moodlecore * @package moodlecore
* @subpackage portfolio * @subpackage portfolio
* @copyright 2010 Penny Leach * @copyright 2010 Penny Leach

View file

@ -18,7 +18,7 @@
/** /**
* This file contains the class definition for the mahara portfolio plugin * This file contains the class definition for the mahara portfolio plugin
* *
* @since 2.0 * @since Moodle 2.0
* @package moodlecore * @package moodlecore
* @subpackage portfolio * @subpackage portfolio
* @copyright 2009 Penny Leach * @copyright 2009 Penny Leach

View file

@ -18,7 +18,7 @@
/** /**
* This file is the landing point for returning to moodle after authenticating at mahara * This file is the landing point for returning to moodle after authenticating at mahara
* *
* @since 2.0 * @since Moodle 2.0
* @package moodlecore * @package moodlecore
* @subpackage portfolio * @subpackage portfolio
* @copyright 2009 Penny Leach * @copyright 2009 Penny Leach

View file

@ -17,7 +17,7 @@
/** /**
* This file contains the version information for the mahara portfolio plugin * This file contains the version information for the mahara portfolio plugin
* *
* @since 2.0 * @since Moodle 2.0
* @package portfolio * @package portfolio
* @subpackage mahara * @subpackage mahara
* @copyright 2009 Penny Leach * @copyright 2009 Penny Leach

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_calculated * @package qtype_calculated
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_calculatedmulti * @package qtype_calculatedmulti
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_calculatedsimple * @package qtype_calculatedsimple
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_essay * @package qtype_essay
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_match * @package qtype_match
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_multichoice * @package qtype_multichoice
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_numerical * @package qtype_numerical
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_randomsamatch * @package qtype_randomsamatch
* @copyright 2013 Jean-Michel Vedrine * @copyright 2013 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_shortanswer * @package qtype_shortanswer
* @copyright Dongsheng Cai <dongsheng@moodle.com> * @copyright Dongsheng Cai <dongsheng@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Serve question type files * Serve question type files
* *
* @since 2.0 * @since Moodle 2.0
* @package qtype_truefalse * @package qtype_truefalse
* @copyright 2010 The Open Unviersity * @copyright 2010 The Open Unviersity
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access alfresco repository * This plugin is used to access alfresco repository
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_alfresco * @package repository_alfresco
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -28,7 +28,7 @@ require_once($CFG->dirroot . '/repository/lib.php');
* repository_alfresco class * repository_alfresco class
* This is a class used to browse files from alfresco * This is a class used to browse files from alfresco
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_alfresco * @package repository_alfresco
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access box.net repository * This plugin is used to access box.net repository
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_boxnet * @package repository_boxnet
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -28,7 +28,7 @@ require_once($CFG->libdir . '/boxlib.php');
/** /**
* repository_boxnet class implements box.net client * repository_boxnet class implements box.net client
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_boxnet * @package repository_boxnet
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access coursefiles repository * This plugin is used to access coursefiles repository
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_coursefiles * @package repository_coursefiles
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -27,7 +27,7 @@ require_once($CFG->dirroot . '/repository/lib.php');
/** /**
* repository_coursefiles class is used to browse course files * repository_coursefiles class is used to browse course files
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_coursefiles * @package repository_coursefiles
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -25,7 +25,7 @@
/** /**
* This file is used to manage draft files in non-javascript browsers * This file is used to manage draft files in non-javascript browsers
* *
* @since 2.0 * @since Moodle 2.0
* @package core * @package core
* @subpackage repository * @subpackage repository
* @copyright 2010 Dongsheng Cai <dongsheng@moodle.com> * @copyright 2010 Dongsheng Cai <dongsheng@moodle.com>

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access user's dropbox files * This plugin is used to access user's dropbox files
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_dropbox * @package repository_dropbox
* @copyright 2012 Marina Glancy * @copyright 2012 Marina Glancy
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}

View file

@ -17,7 +17,7 @@
/** /**
* A helper class to access dropbox resources * A helper class to access dropbox resources
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_dropbox * @package repository_dropbox
* @copyright 2012 Marina Glancy * @copyright 2012 Marina Glancy
* @copyright 2010 Dongsheng Cai * @copyright 2010 Dongsheng Cai

View file

@ -17,7 +17,7 @@
/** /**
* Callback for equella repository. * Callback for equella repository.
* *
* @since 2.3 * @since Moodle 2.3
* @package repository_equella * @package repository_equella
* @copyright 2012 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2012 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access equella repositories. * This plugin is used to access equella repositories.
* *
* @since 2.3 * @since Moodle 2.3
* @package repository_equella * @package repository_equella
* @copyright 2012 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2012 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -30,7 +30,7 @@ require_once($CFG->dirroot . '/repository/lib.php');
/** /**
* repository_equella class implements equella_client * repository_equella class implements equella_client
* *
* @since 2.3 * @since Moodle 2.3
* @package repository_equella * @package repository_equella
* @copyright 2012 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2012 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* Version information for equella repository. * Version information for equella repository.
* *
* @since 2.3 * @since Moodle 2.3
* @package repository_equella * @package repository_equella
* @copyright 2012 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2012 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -19,7 +19,7 @@
/** /**
* This file is used to browse repositories in non-javascript mode * This file is used to browse repositories in non-javascript mode
* *
* @since 2.0 * @since Moodle 2.0
* @package core * @package core
* @subpackage repository * @subpackage repository
* @copyright 2009 Dongsheng Cai <dongsheng@moodle.com> * @copyright 2009 Dongsheng Cai <dongsheng@moodle.com>

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access files on server file system * This plugin is used to access files on server file system
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_filesystem * @package repository_filesystem
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access flickr pictures * This plugin is used to access flickr pictures
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_flickr * @package repository_flickr
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -28,7 +28,7 @@ require_once($CFG->libdir.'/flickrlib.php');
/** /**
* This plugin is used to access user's private flickr repository * This plugin is used to access user's private flickr repository
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_flickr * @package repository_flickr
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access flickr pictures * This plugin is used to access flickr pictures
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_flickr_public * @package repository_flickr_public
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -32,7 +32,7 @@ require_once(dirname(__FILE__) . '/image.php');
* You can set up a public account in admin page, so everyone can access * You can set up a public account in admin page, so everyone can access
* flickr photos from this plugin * flickr photos from this plugin
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_flickr_public * @package repository_flickr_public
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access Google Drive. * This plugin is used to access Google Drive.
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_googledocs * @package repository_googledocs
* @copyright 2009 Dan Poltawski <talktodan@gmail.com> * @copyright 2009 Dan Poltawski <talktodan@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -32,7 +32,7 @@ require_once($CFG->libdir . '/google/contrib/Google_DriveService.php');
/** /**
* Google Docs Plugin * Google Docs Plugin
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_googledocs * @package repository_googledocs
* @copyright 2009 Dan Poltawski <talktodan@gmail.com> * @copyright 2009 Dan Poltawski <talktodan@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This file contains classes used to manage the repository plugins in Moodle * This file contains classes used to manage the repository plugins in Moodle
* *
* @since 2.0 * @since Moodle 2.0
* @package core_repository * @package core_repository
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -659,7 +659,7 @@ abstract class repository implements cacheable_object {
* Returns the type name of the repository. * Returns the type name of the repository.
* *
* @return string type name of the repository. * @return string type name of the repository.
* @since 2.5 * @since Moodle 2.5
*/ */
public function get_typename() { public function get_typename() {
if (empty($this->typename)) { if (empty($this->typename)) {
@ -1868,7 +1868,7 @@ abstract class repository implements cacheable_object {
* can be edited. * can be edited.
* *
* @return bool true if the user can edit the instance. * @return bool true if the user can edit the instance.
* @since 2.5 * @since Moodle 2.5
*/ */
public final function can_be_edited_by_user() { public final function can_be_edited_by_user() {
global $USER; global $USER;
@ -1925,7 +1925,7 @@ abstract class repository implements cacheable_object {
* the user instances will be protected when they need to. * the user instances will be protected when they need to.
* *
* @return boolean True when the repository accesses private external data. * @return boolean True when the repository accesses private external data.
* @since 2.5 * @since Moodle 2.5
*/ */
public function contains_private_data() { public function contains_private_data() {
return true; return true;
@ -2219,7 +2219,7 @@ abstract class repository implements cacheable_object {
* *
* @param array $breadcrumb contains each element of the breadcrumb. * @param array $breadcrumb contains each element of the breadcrumb.
* @return array of breadcrumb elements. * @return array of breadcrumb elements.
* @since 2.3.3 * @since Moodle 2.3.3
*/ */
protected static function prepare_breadcrumb($breadcrumb) { protected static function prepare_breadcrumb($breadcrumb) {
global $OUTPUT; global $OUTPUT;
@ -2240,7 +2240,7 @@ abstract class repository implements cacheable_object {
* *
* @param array $list of files and folders. * @param array $list of files and folders.
* @return array of files and folders. * @return array of files and folders.
* @since 2.3.3 * @since Moodle 2.3.3
*/ */
protected static function prepare_list($list) { protected static function prepare_list($list) {
global $OUTPUT; global $OUTPUT;
@ -2958,7 +2958,7 @@ abstract class repository implements cacheable_object {
/** /**
* Exception class for repository api * Exception class for repository api
* *
* @since 2.0 * @since Moodle 2.0
* @package core_repository * @package core_repository
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -2969,7 +2969,7 @@ class repository_exception extends moodle_exception {
/** /**
* This is a class used to define a repository instance form * This is a class used to define a repository instance form
* *
* @since 2.0 * @since Moodle 2.0
* @package core_repository * @package core_repository
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -3089,7 +3089,7 @@ final class repository_instance_form extends moodleform {
/** /**
* This is a class used to define a repository type setting form * This is a class used to define a repository type setting form
* *
* @since 2.0 * @since Moodle 2.0
* @package core_repository * @package core_repository
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access local files * This plugin is used to access local files
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_local * @package repository_local
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -27,7 +27,7 @@ require_once($CFG->dirroot . '/repository/lib.php');
/** /**
* repository_local class is used to browse moodle files * repository_local class is used to browse moodle files
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_local * @package repository_local
* @copyright 2012 Marina Glancy * @copyright 2012 Marina Glancy
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}

View file

@ -19,7 +19,7 @@
/** /**
* This file is used to manage repositories * This file is used to manage repositories
* *
* @since 2.0 * @since Moodle 2.0
* @package core * @package core
* @subpackage repository * @subpackage repository
* @copyright 2009 Dongsheng Cai <dongsheng@moodle.com> * @copyright 2009 Dongsheng Cai <dongsheng@moodle.com>

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access merlot files * This plugin is used to access merlot files
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_merlot * @package repository_merlot
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -27,7 +27,7 @@ require_once($CFG->dirroot . '/repository/lib.php');
/** /**
* repository_merlot is used to search merlot.org in moodle * repository_merlot is used to search merlot.org in moodle
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_merlot * @package repository_merlot
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -17,7 +17,7 @@
/** /**
* This plugin is used to access picasa pictures * This plugin is used to access picasa pictures
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_picasa * @package repository_picasa
* @copyright 2009 Dan Poltawski <talktodan@gmail.com> * @copyright 2009 Dan Poltawski <talktodan@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -28,7 +28,7 @@ require_once($CFG->libdir.'/googleapi.php');
/** /**
* Picasa Repository Plugin * Picasa Repository Plugin
* *
* @since 2.0 * @since Moodle 2.0
* @package repository * @package repository
* @subpackage picasa * @subpackage picasa
* @copyright 2009 Dan Poltawski * @copyright 2009 Dan Poltawski

View file

@ -18,7 +18,7 @@
/** /**
* This plugin is used to access recent used files * This plugin is used to access recent used files
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_recent * @package repository_recent
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -28,7 +28,7 @@ require_once($CFG->dirroot . '/repository/lib.php');
/** /**
* repository_recent class is used to browse recent used files * repository_recent class is used to browse recent used files
* *
* @since 2.0 * @since Moodle 2.0
* @package repository_recent * @package repository_recent
* @copyright 2010 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2010 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

View file

@ -18,7 +18,7 @@
/** /**
* The Web service script that is called from the filepicker front end * The Web service script that is called from the filepicker front end
* *
* @since 2.0 * @since Moodle 2.0
* @package repository * @package repository
* @copyright 2009 Dongsheng Cai {@link http://dongsheng.org} * @copyright 2009 Dongsheng Cai {@link http://dongsheng.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Some files were not shown because too many files have changed in this diff Show more