diff -Naur moodle/lib/accesslib.php moodle2/lib/accesslib.php --- moodle/lib/accesslib.php 2012-03-28 20:18:56.422823817 +0530 +++ moodle2/lib/accesslib.php 2012-02-18 05:34:25.000000000 +0530 @@ -482,7 +482,7 @@ * the capabilities that most users are likely to have first in the list for best * performance. * - * @link has_capability() + * @see has_capability() * @param array $capabilities an array of capability names. * @param context $context the context to check the capability in. You normally get this with {@link get_context_instance}. * @param integer $userid A user id. By default (null) checks the permissions of the current user. @@ -505,7 +505,7 @@ * the capabilities that fewest users are likely to have first in the list for best * performance. * - * @link has_capability() + * @see has_capability() * @param array $capabilities an array of capability names. * @param context $context the context to check the capability in. You normally get this with {@link get_context_instance}. * @param integer $userid A user id. By default (null) checks the permissions of the current user. @@ -675,7 +675,7 @@ * You must call require_login (or one of its variants) if you want to check the * user is logged in, before you call this function. * - * @link has_capability() + * @see has_capability() * * @param string $capability the name of the capability to check. For example mod/forum:view * @param context $context the context to check the capability in. You normally get this with {@link get_context_instance}. @@ -1101,7 +1101,7 @@ * for the current user. It is called from has_capability() and functions change permissions. * * Call it only _after_ you've setup $USER and called check_enrolment_plugins(); - * @link check_enrolment_plugins() + * @see check_enrolment_plugins() * * @private * @return void diff -Naur moodle/lib/adminlib.php moodle2/lib/adminlib.php --- moodle/lib/adminlib.php 2012-03-28 20:18:56.426823837 +0530 +++ moodle2/lib/adminlib.php 2012-03-16 05:34:30.000000000 +0530 @@ -2519,7 +2519,7 @@ /** * Returns XHTML select field and wrapping div(s) * - * @link output_select_html() + * @see output_select_html() * * @param string $data the option to show as selected * @param string $query @@ -3005,7 +3005,7 @@ /** * Returns the site name for the selected site * - * @link get_site() + * @see get_site() * @return string The site name of the selected site */ public function get_setting() { @@ -3481,10 +3481,10 @@ } /** - * Converts the array of emoticon objects provided by {@link emoticon_manager} into admin settings form data + * Converts the array of emoticon objects provided by {@see emoticon_manager} into admin settings form data * - * @link self::process_form_data() - * @param array $emoticons array of emoticon objects as returned by {@link emoticon_manager} + * @see self::process_form_data() + * @param array $emoticons array of emoticon objects as returned by {@see emoticon_manager} * @return array of form fields and their values */ protected function prepare_form_data(array $emoticons) { @@ -3512,7 +3512,7 @@ /** * Converts the data from admin settings form into an array of emoticon objects * - * @link self::prepare_form_data() + * @see self::prepare_form_data() * @param array $data array of admin form fields and values * @return false|array of emoticon objects */ @@ -7829,7 +7829,7 @@ /** * Converts the string of regexes * - * @link self::process_form_data() + * @see self::process_form_data() * @param $regexes string of regexes * @return array of form fields and their values */ @@ -7856,7 +7856,7 @@ /** * Converts the data from admin settings form into a string of regexes * - * @link self::prepare_form_data() + * @see self::prepare_form_data() * @param array $data array of admin form fields and values * @return false|string of regexes */ diff -Naur moodle/lib/blocklib.php moodle2/lib/blocklib.php --- moodle/lib/blocklib.php 2012-03-28 20:18:56.426823837 +0530 +++ moodle2/lib/blocklib.php 2012-01-20 05:34:16.000000000 +0530 @@ -386,7 +386,7 @@ /** * Add an array of regions - * @link add_region() + * @see add_region() * * @param array $regions this utility method calls add_region for each array element. */ @@ -446,7 +446,7 @@ /** * Checks to see whether all of the blocks within the given region are docked * - * @link region_uses_dock + * @see region_uses_dock * @param string $region * @return bool True if all of the blocks within that region are docked */ @@ -467,7 +467,7 @@ /** * Checks to see whether any of the blocks within the given regions are docked * - * @link region_completely_docked + * @see region_completely_docked * @param array|string $regions array of regions (or single region) * @return bool True if any of the blocks within that region are docked */ @@ -710,8 +710,8 @@ * Convenience method, calls add_block repeatedly for all the blocks in $blocks. * * @param array $blocks array with array keys the region names, and values an array of block names. - * @param string $pagetypepattern optional. Passed to @link add_block() - * @param string $subpagepattern optional. Passed to @link add_block() + * @param string $pagetypepattern optional. Passed to @see add_block() + * @param string $subpagepattern optional. Passed to @see add_block() */ public function add_blocks($blocks, $pagetypepattern = NULL, $subpagepattern = NULL, $showinsubcontexts=false, $weight=0) { $this->add_regions(array_keys($blocks)); @@ -1873,7 +1873,7 @@ * * @param object $instance a row from the block_instances table * @param bool $nolongerused legacy parameter. Not used, but kept for backwards compatibility. - * @param bool $skipblockstables for internal use only. Makes @link blocks_delete_all_for_context() more efficient. + * @param bool $skipblockstables for internal use only. Makes @see blocks_delete_all_for_context() more efficient. */ function blocks_delete_instance($instance, $nolongerused = false, $skipblockstables = false) { global $DB; diff -Naur moodle/lib/completionlib.php moodle2/lib/completionlib.php --- moodle/lib/completionlib.php 2012-03-28 20:18:56.430823864 +0530 +++ moodle2/lib/completionlib.php 2011-12-06 14:51:43.000000000 +0530 @@ -131,7 +131,7 @@ * Completion criteria * @access private * @var array - * @link completion_info->get_criteria() + * @see completion_info->get_criteria() */ private $criteria; diff -Naur moodle/lib/componentlib.class.php moodle2/lib/componentlib.class.php --- moodle/lib/componentlib.class.php 2012-03-28 20:18:56.430823864 +0530 +++ moodle2/lib/componentlib.class.php 2011-12-06 14:51:43.000000000 +0530 @@ -732,7 +732,7 @@ /** * Checks if the given language has already been processed by this instance * - * @link self::mark_processed() + * @see self::mark_processed() * @param string $langcode * @return boolean */ @@ -743,7 +743,7 @@ /** * Mark the given language pack as processed * - * @link self::was_processed() + * @see self::was_processed() * @param string $langcode */ protected function mark_processed($langcode) { diff -Naur moodle/lib/conditionlib.php moodle2/lib/conditionlib.php --- moodle/lib/conditionlib.php 2012-03-28 20:18:56.430823864 +0530 +++ moodle2/lib/conditionlib.php 2011-12-06 14:51:43.000000000 +0530 @@ -194,7 +194,7 @@ } /** - * @link require_data() + * @see require_data() * @return object A course-module object with all the information required to * determine availability. */ diff -Naur moodle/lib/deprecatedlib.php moodle2/lib/deprecatedlib.php --- moodle/lib/deprecatedlib.php 2012-03-28 20:18:56.434823876 +0530 +++ moodle2/lib/deprecatedlib.php 2011-12-06 14:51:43.000000000 +0530 @@ -1247,7 +1247,7 @@ } /** * @deprecated use $DB->record_exists_select() instead - * @link moodle_database::record_exists_select() + * @see moodle_database::record_exists_select() * @param mixed $table * @param mixed $select * @return void Throws an error and does nothing @@ -1257,7 +1257,7 @@ } /** * @deprecated use $DB->record_exists_sql() instead - * @link moodle_database::record_exists_sql() + * @see moodle_database::record_exists_sql() * @param mixed $sql * @return void Throws an error and does nothing */ @@ -1266,7 +1266,7 @@ } /** * @deprecated use $DB->count_records_select() instead - * @link moodle_database::count_records_select() + * @see moodle_database::count_records_select() * @param mixed $table * @param mixed $select * @param mixed $countitem @@ -1277,7 +1277,7 @@ } /** * @deprecated use $DB->count_records_sql() instead - * @link moodle_database::count_records_sql() + * @see moodle_database::count_records_sql() * @param mixed $sql * @return void Throws an error and does nothing */ @@ -1286,7 +1286,7 @@ } /** * @deprecated use $DB->get_record_sql() instead - * @link moodle_database::get_record_sql() + * @see moodle_database::get_record_sql() * @param mixed $sql * @param bool $expectmultiple * @param bool $nolimit @@ -1297,7 +1297,7 @@ } /** * @deprecated use $DB->get_record_select() instead - * @link moodle_database::get_record_select() + * @see moodle_database::get_record_select() * @param mixed $table * @param mixed $select * @param mixed $fields @@ -1308,7 +1308,7 @@ } /** * @deprecated use $DB->get_recordset() instead - * @link moodle_database::get_recordset() + * @see moodle_database::get_recordset() * @param mixed $table * @param mixed $field * @param mixed $value @@ -1323,7 +1323,7 @@ } /** * @deprecated use $DB->get_recordset_sql() instead - * @link moodle_database::get_recordset_sql() + * @see moodle_database::get_recordset_sql() * @param mixed $sql * @param mixed $limitfrom * @param mixed $limitnum @@ -1374,7 +1374,7 @@ } /** * @deprecated use $DB->get_records_select() instead - * @link moodle_database::get_records_select() + * @see moodle_database::get_records_select() * @param mixed $table * @param mixed $select * @param mixed $sort @@ -1388,7 +1388,7 @@ } /** * @deprecated use $DB->get_field_select() instead - * @link moodle_database::get_field_select() + * @see moodle_database::get_field_select() * @param mixed $table * @param mixed $return * @param mixed $select @@ -1399,7 +1399,7 @@ } /** * @deprecated use $DB->get_field_sql() instead - * @link moodle_database::get_field_sql() + * @see moodle_database::get_field_sql() * @param mixed $sql * @return void Throws an error and does nothing */ @@ -1408,7 +1408,7 @@ } /** * @deprecated use $DB->delete_records_select() instead - * @link moodle_database::delete_records_select() + * @see moodle_database::delete_records_select() * @param mixed $sql * @param mixed $select * @return void Throws an error and does nothing @@ -1495,7 +1495,7 @@ } /** * @deprecated use $DB->get_records_list() instead - * @link moodle_database::get_records_list() + * @see moodle_database::get_records_list() * @param mixed $table * @param mixed $field * @param mixed $values @@ -1510,7 +1510,7 @@ } /** * @deprecated use $DB->get_recordset_list() instead - * @link moodle_database::get_recordset_list() + * @see moodle_database::get_recordset_list() * @param mixed $table * @param mixed $field * @param mixed $values @@ -1525,7 +1525,7 @@ } /** * @deprecated use $DB->get_records_menu() instead - * @link moodle_database::get_records_menu() + * @see moodle_database::get_records_menu() * @param mixed $table * @param mixed $field * @param mixed $value @@ -1540,7 +1540,7 @@ } /** * @deprecated use $DB->get_records_select_menu() instead - * @link moodle_database::get_records_select_menu() + * @see moodle_database::get_records_select_menu() * @param mixed $table * @param mixed $select * @param mixed $sort @@ -1554,7 +1554,7 @@ } /** * @deprecated use $DB->get_records_sql_menu() instead - * @link moodle_database::get_records_sql_menu() + * @see moodle_database::get_records_sql_menu() * @param mixed $sql * @param mixed $limitfrom * @param mixed $limitnum @@ -1592,7 +1592,7 @@ } /** * @deprecated use $DB->set_field_select() instead - * @link moodle_database::set_field_select() + * @see moodle_database::set_field_select() * @param mixed $table * @param mixed $newfield * @param mixed $newvalue @@ -1605,7 +1605,7 @@ } /** * @deprecated use $DB->get_fieldset_select() instead - * @link moodle_database::get_fieldset_select() + * @see moodle_database::get_fieldset_select() * @param mixed $table * @param mixed $return * @param mixed $select @@ -1616,7 +1616,7 @@ } /** * @deprecated use $DB->get_fieldset_sql() instead - * @link moodle_database::get_fieldset_sql() + * @see moodle_database::get_fieldset_sql() * @param mixed $sql * @return void Throws an error and does nothing */ @@ -1625,7 +1625,7 @@ } /** * @deprecated use $DB->sql_like() instead - * @link moodle_database::sql_like() + * @see moodle_database::sql_like() * @return void Throws an error and does nothing */ function sql_ilike() { @@ -1785,7 +1785,7 @@ } /** * @deprecated use $DB->insert_record() instead - * @link moodle_database::insert_record() + * @see moodle_database::insert_record() * @param mixed $table * @param mixed $dataobject * @param mixed $returnid @@ -1797,7 +1797,7 @@ } /** * @deprecated use $DB->update_record() instead - * @link moodle_database::update_record() + * @see moodle_database::update_record() * @param mixed $table * @param mixed $dataobject * @return void Throws an error and does nothing @@ -1807,7 +1807,7 @@ } /** * @deprecated use $DB->get_records() instead - * @link moodle_database::get_records() + * @see moodle_database::get_records() * @param mixed $table * @param mixed $field * @param mixed $value @@ -1823,7 +1823,7 @@ } /** * @deprecated use $DB->get_record() instead - * @link moodle_database::get_record() + * @see moodle_database::get_record() * @param mixed $table * @param mixed $field1 * @param mixed $value1 @@ -1839,7 +1839,7 @@ } /** * @deprecated use $DB->set_field() instead - * @link moodle_database::set_field() + * @see moodle_database::set_field() * @param mixed $table * @param mixed $newfield * @param mixed $newvalue @@ -1856,7 +1856,7 @@ } /** * @deprecated use $DB->count_records() instead - * @link moodle_database::count_records() + * @see moodle_database::count_records() * @param mixed $table * @param mixed $field1 * @param mixed $value1 @@ -1871,7 +1871,7 @@ } /** * @deprecated use $DB->record_exists() instead - * @link moodle_database::record_exists() + * @see moodle_database::record_exists() * @param mixed $table * @param mixed $field1 * @param mixed $value1 @@ -1886,7 +1886,7 @@ } /** * @deprecated use $DB->delete_records() instead - * @link moodle_database::delete_records() + * @see moodle_database::delete_records() * @param mixed $table * @param mixed $field1 * @param mixed $value1 @@ -1901,7 +1901,7 @@ } /** * @deprecated use $DB->get_field() instead - * @link moodle_database::get_field() + * @see moodle_database::get_field() * @param mixed $table * @param mixed $return * @param mixed $field1 @@ -3295,7 +3295,7 @@ * @deprecated since Moodle 2.0 * * Calls {@link choose_from_menu()} with preset arguments - * @link choose_from_menu() + * @see choose_from_menu() * * @param string $name the name of this form control, as in <select name="..." ... * @param string $selected the option to select initially, default none. @@ -3385,7 +3385,7 @@ * @deprecated since Moodle 2.0 * * Uses {@link choose_from_menu()} to generate HTML - * @link choose_from_menu() + * @see choose_from_menu() * * @global object * @param int $timelimit default diff -Naur moodle/lib/dtllib.php moodle2/lib/dtllib.php --- moodle/lib/dtllib.php 2012-03-28 20:18:56.434823876 +0530 +++ moodle2/lib/dtllib.php 2011-12-06 14:51:43.000000000 +0530 @@ -53,7 +53,7 @@ /** * Exception class for db transfer - * @link moodle_exception + * @see moodle_exception */ class dbtransfer_exception extends moodle_exception { /** diff -Naur moodle/lib/enrollib.php moodle2/lib/enrollib.php --- moodle/lib/enrollib.php 2012-03-28 20:18:56.434823876 +0530 +++ moodle2/lib/enrollib.php 2012-03-16 05:34:30.000000000 +0530 @@ -233,7 +233,7 @@ * The courses has to be visible and enrolments has to be active, * timestart and timeend restrictions are ignored. * - * This function calls {@link enrol_get_shared_courses()} setting checkexistsonly + * This function calls {@see enrol_get_shared_courses()} setting checkexistsonly * to true. * * @param stdClass|int $user1 diff -Naur moodle/lib/filelib.php moodle2/lib/filelib.php --- moodle/lib/filelib.php 2012-03-28 20:18:56.442823914 +0530 +++ moodle2/lib/filelib.php 2012-01-20 05:34:16.000000000 +0530 @@ -2780,7 +2780,7 @@ /** * HTTP HEAD method * - * @link request() + * @see request() * * @param string $url * @param array $options diff -Naur moodle/lib/flickrlib.php moodle2/lib/flickrlib.php --- moodle/lib/flickrlib.php 2012-03-28 20:18:56.442823914 +0530 +++ moodle2/lib/flickrlib.php 2010-11-12 05:31:35.000000000 +0530 @@ -1094,7 +1094,7 @@ * Upload a photo from Moodle file pool to Flickr * * Optional meta information are title, description, tags, is_public, is_friend, is_family, safety_level, - * content_type and hidden {@link http://www.flickr.com/services/api/upload.api.html} + * content_type and hidden {@see http://www.flickr.com/services/api/upload.api.html} * * @param stored_file $photo stored in Moodle file pool * @param array $meta optional meta information diff -Naur moodle/lib/formslib.php moodle2/lib/formslib.php --- moodle/lib/formslib.php 2012-03-28 20:18:56.442823914 +0530 +++ moodle2/lib/formslib.php 2012-03-16 05:34:31.000000000 +0530 @@ -448,7 +448,7 @@ /** * Check that form data is valid. - * You should almost always use this, rather than {@link validate_defined_fields} + * You should almost always use this, rather than {@see validate_defined_fields} * * @staticvar bool $validated * @return bool true if form data valid @@ -466,8 +466,8 @@ /** * Validate the form. * - * You almost always want to call {@link is_validated} instead of this - * because it calls {@link definition_after_data} first, before validating the form, + * You almost always want to call {@see is_validated} instead of this + * because it calls {@see definition_after_data} first, before validating the form, * which is what you want in 99% of cases. * * This is provided as a separate function for those special cases where diff -Naur moodle/lib/html2text.php moodle2/lib/html2text.php --- moodle/lib/html2text.php 2012-03-28 20:18:56.446823950 +0530 +++ moodle2/lib/html2text.php 2012-03-02 05:34:11.000000000 +0530 @@ -133,7 +133,7 @@ * * @var array $search * @access public - * @link $replace + * @see $replace */ var $search = array( "/\r/", // Non-legal carriage return @@ -178,7 +178,7 @@ * * @var array $replace * @access public - * @link $search + * @see $search */ var $replace = array( '', // Non-legal carriage return @@ -240,7 +240,7 @@ * * @var array $pre_search * @access public - * @link $pre_replace + * @see $pre_replace */ var $pre_search = array( "/\n/", @@ -255,7 +255,7 @@ * * @var array $pre_replace * @access public - * @link $pre_search + * @see $pre_search */ var $pre_replace = array( '
', @@ -270,7 +270,7 @@ * * @var string $allowed_tags * @access public - * @link set_allowed_tags() + * @see set_allowed_tags() */ var $allowed_tags = ''; @@ -287,7 +287,7 @@ * * @var boolean $_converted * @access private - * @link $html, $text + * @see $html, $text */ var $_converted = false; @@ -296,7 +296,7 @@ * * @var string $_link_list * @access private - * @link _build_link_list() + * @see _build_link_list() */ var $_link_list = ''; @@ -306,7 +306,7 @@ * * @var integer $_link_count * @access private - * @link _build_link_list() + * @see _build_link_list() */ var $_link_count = 0; @@ -315,7 +315,7 @@ * * @var boolean $_do_links * @access private - * @link html2text() + * @see html2text() */ var $_do_links = true; @@ -394,7 +394,7 @@ * * @access public * @return void - * @link print_text() + * @see print_text() */ function p() { diff -Naur moodle/lib/installlib.php moodle2/lib/installlib.php --- moodle/lib/installlib.php 2012-03-28 20:18:56.446823950 +0530 +++ moodle2/lib/installlib.php 2011-12-06 14:51:43.000000000 +0530 @@ -65,7 +65,7 @@ } /** - * Copy of @link{ini_get_bool()} + * Copy of @see{ini_get_bool()} * @param string $ini_get_arg * @return bool */ diff -Naur moodle/lib/mathslib.php moodle2/lib/mathslib.php --- moodle/lib/mathslib.php 2012-03-28 20:18:56.450823959 +0530 +++ moodle2/lib/mathslib.php 2010-07-26 05:30:53.000000000 +0530 @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -/** @link evalmath/evalmath.class.php */ +/** @see evalmath/evalmath.class.php */ require_once $CFG->dirroot.'/lib/evalmath/evalmath.class.php'; /** diff -Naur moodle/lib/messagelib.php moodle2/lib/messagelib.php --- moodle/lib/messagelib.php 2012-03-28 20:18:56.450823959 +0530 +++ moodle2/lib/messagelib.php 2012-01-06 05:34:20.000000000 +0530 @@ -366,7 +366,7 @@ /** * Returns the active providers for the current user, based on capability * - * This function has been deprecated please use {@link message_get_providers_for_user()} instead. + * This function has been deprecated please use {@see message_get_providers_for_user()} instead. * * @deprecated since 2.1 * @todo Remove in 2.2 diff -Naur moodle/lib/modinfolib.php moodle2/lib/modinfolib.php --- moodle/lib/modinfolib.php 2012-03-28 20:18:56.450823959 +0530 +++ moodle2/lib/modinfolib.php 2011-12-06 14:51:43.000000000 +0530 @@ -1187,8 +1187,8 @@ * to define the icon, as per pix_url function. * For backward compatibility, if this value is of the form 'mod/forum/icon' then an icon * within that module will be used. - * @link cm_info::get_icon_url() - * @link renderer_base::pix_url() + * @see cm_info::get_icon_url() + * @see renderer_base::pix_url() * @var string */ public $icon; @@ -1196,7 +1196,7 @@ /** * Component for icon for this activity, as per pix_url; leave blank to use default 'moodle' * component - * @link renderer_base::pix_url() + * @see renderer_base::pix_url() * @var string */ public $iconcomponent; diff -Naur moodle/lib/moodlelib.php moodle2/lib/moodlelib.php --- moodle/lib/moodlelib.php 2012-03-28 20:18:56.458823989 +0530 +++ moodle2/lib/moodlelib.php 2012-03-16 05:34:31.000000000 +0530 @@ -2905,7 +2905,7 @@ * This is a weaker version of {@link require_login()} which only requires login * when called from within a course rather than the site page, unless * the forcelogin option is turned on. - * @link require_login() + * @see require_login() * * @global object * @param mixed $courseorid The course object or id in question @@ -5865,7 +5865,7 @@ /** * Cleans a given filename by removing suspicious or troublesome characters - * @link clean_param() + * @see clean_param() * * @uses PARAM_FILE * @param string $string file name @@ -7131,7 +7131,7 @@ * structure is expected: stdClass with properties text, imagename, imagecomponent, * altidentifier and altcomponent * - * @link admin_setting_emoticons + * @see admin_setting_emoticons */ class emoticon_manager { @@ -7178,7 +7178,7 @@ /** * Encodes the array of emoticon objects into a string storable in config table * - * @link self::decode_stored_config() + * @see self::decode_stored_config() * @param array $emoticons array of emtocion objects * @return string */ @@ -7189,7 +7189,7 @@ /** * Decodes the string into an array of emoticon objects * - * @link self::encode_stored_config() + * @see self::encode_stored_config() * @param string $encoded * @return string|null */ @@ -7245,10 +7245,10 @@ * Helper method preparing the stdClass with the emoticon properties * * @param string|array $text or array of strings - * @param string $imagename to be used by {@link pix_emoticon} + * @param string $imagename to be used by {@see pix_emoticon} * @param string $altidentifier alternative string identifier, null for no alt * @param array $altcomponent where the alternative string is defined - * @param string $imagecomponent to be used by {@link pix_emoticon} + * @param string $imagecomponent to be used by {@see pix_emoticon} * @return stdClass */ protected function prepare_emoticon_object($text, $imagename, $altidentifier = null, $altcomponent = 'core_pix', $imagecomponent = 'core') { @@ -10428,7 +10428,7 @@ /** * during the xmlrpc server code execution, this will be called - * to setup the object returned by {@link get_mnet_remote_client} + * to setup the object returned by {@see get_mnet_remote_client} * * @param mnet_remote_client $client the client to set up */ diff -Naur moodle/lib/navigationlib.php moodle2/lib/navigationlib.php --- moodle/lib/navigationlib.php 2012-03-28 20:18:56.462824020 +0530 +++ moodle2/lib/navigationlib.php 2012-03-23 07:24:18.000000000 +0530 @@ -390,7 +390,7 @@ * Marks this node as active and forces it open. * * Important: If you are here because you need to mark a node active to get - * the navigation to do what you want have you looked at {@link navigation_node::override_active_url()}? + * the navigation to do what you want have you looked at {@see navigation_node::override_active_url()}? * You can use it to specify a different URL to match the active navigation node on * rather than having to locate and manually mark a node active. */ @@ -1590,7 +1590,7 @@ * formats lib.php file to customise the navigation that is generated at this * point for the course. * - * By default (if not defined) the method {@link load_generic_course_sections} is + * By default (if not defined) the method {@see load_generic_course_sections} is * called instead. * * @param stdClass $course Database record for the course @@ -1750,7 +1750,7 @@ * * @param navigation_node $sectionnode * @param int $sectionnumber - * @param course_modinfo $modinfo Object returned from {@link get_fast_modinfo()} + * @param course_modinfo $modinfo Object returned from {@see get_fast_modinfo()} * @return array Array of activity nodes */ protected function load_section_activities(navigation_node $sectionnode, $sectionnumber, $activities) { @@ -1848,8 +1848,8 @@ * * The callback is a method: {modulename}_extend_navigation() * Examples: - * * {@link forum_extend_navigation()} - * * {@link workshop_extend_navigation()} + * * {@see forum_extend_navigation()} + * * {@see workshop_extend_navigation()} * * @param cm_info|stdClass $cm * @param stdClass $course @@ -2443,9 +2443,9 @@ * This function only looks at this nodes children, it does NOT look recursivily. * If the node can't be found then false is returned. * - * If you need to search recursivily then use the {@link find()} method. + * If you need to search recursivily then use the {@see find()} method. * - * Note: If you are trying to set the active node {@link navigation_node::override_active_url()} + * Note: If you are trying to set the active node {@see navigation_node::override_active_url()} * may be of more use to you. * * @param string|int $key The key of the node you wish to receive. @@ -2467,9 +2467,9 @@ * found of there are no more nodes to search. * * If you know that the node being searched for is a child of this node - * then use the {@link get()} method instead. + * then use the {@see get()} method instead. * - * Note: If you are trying to set the active node {@link navigation_node::override_active_url()} + * Note: If you are trying to set the active node {@see navigation_node::override_active_url()} * may be of more use to you. * * @param string|int $key The key of the node you wish to receive. diff -Naur moodle/lib/outputcomponents.php moodle2/lib/outputcomponents.php --- moodle/lib/outputcomponents.php 2012-03-28 20:18:56.462824020 +0530 +++ moodle2/lib/outputcomponents.php 2012-01-28 05:34:23.000000000 +0530 @@ -1696,7 +1696,7 @@ } /** - * Holds all the information required to render a by {@link core_renderer::table()} + * Holds all the information required to render a
by {@see core_renderer::table()} * * Example of usage: * $t = new html_table(); @@ -1731,8 +1731,8 @@ * Example of usage: * $t->headspan = array(2,1); * - * In this example, {@link html_table:$data} is supposed to have three columns. For the first two columns, - * the same heading is used. Therefore, {@link html_table::$head} should consist of two items. + * In this example, {@see html_table:$data} is supposed to have three columns. For the first two columns, + * the same heading is used. Therefore, {@see html_table::$head} should consist of two items. */ public $headspan; /** diff -Naur moodle/lib/outputlib.php moodle2/lib/outputlib.php --- moodle/lib/outputlib.php 2012-03-28 20:18:56.466824037 +0530 +++ moodle2/lib/outputlib.php 2012-03-23 07:24:18.000000000 +0530 @@ -750,7 +750,7 @@ * Given an array of file paths or a single file path loads the contents of * the CSS file, processes it then returns it in the same structure it was given. * - * Can be used recursively on the results of {@link css_files} + * Can be used recursively on the results of {@see css_files} * * @param array|string $file An array of file paths or a single file path * @param array $keys An array of previous array keys [recursive addition] diff -Naur moodle/lib/outputrenderers.php moodle2/lib/outputrenderers.php --- moodle/lib/outputrenderers.php 2012-03-28 20:18:56.466824037 +0530 +++ moodle2/lib/outputrenderers.php 2011-12-10 05:34:05.000000000 +0530 @@ -144,7 +144,7 @@ */ class plugin_renderer_base extends renderer_base { /** - * A reference to the current general renderer probably {@link core_renderer} + * A reference to the current general renderer probably {@see core_renderer} * @var renderer_base */ protected $output; @@ -2489,7 +2489,7 @@ * The custom menu this method produces makes use of the YUI3 menunav widget * and requires very specific html elements and classes. * - * @link render_custom_menu() + * @see render_custom_menu() * * @staticvar int $submenucount * @param custom_menu_item $menunode diff -Naur moodle/lib/outputrequirementslib.php moodle2/lib/outputrequirementslib.php --- moodle/lib/outputrequirementslib.php 2012-03-28 20:18:56.466824037 +0530 +++ moodle2/lib/outputrequirementslib.php 2012-03-23 07:24:18.000000000 +0530 @@ -806,7 +806,7 @@ * alert(M.str.moodle.fullnamedisplay); * * To substitute the placeholder at client side, use M.util.get_string() - * function. It implements the same logic as {@link get_string()}: + * function. It implements the same logic as {@see get_string()}: * * // require the string in PHP but keep {$a} as it is * $PAGE->requires->string_for_js('fullnamedisplay', 'moodle'); diff -Naur moodle/lib/pdflib.php moodle2/lib/pdflib.php --- moodle/lib/pdflib.php 2012-03-28 20:18:56.470824057 +0530 +++ moodle2/lib/pdflib.php 2011-12-06 14:51:43.000000000 +0530 @@ -131,7 +131,7 @@ * @param $dest (string) Destination where to send the document. It can take one of the following values: * @public * @since 1.0 - * @link Close() + * @see Close() */ public function Output($name='doc.pdf', $dest='I') { $olddebug = error_reporting(0); diff -Naur moodle/lib/pluginlib.php moodle2/lib/pluginlib.php --- moodle/lib/pluginlib.php 2012-03-28 20:18:56.470824057 +0530 +++ moodle2/lib/pluginlib.php 2012-02-24 05:34:25.000000000 +0530 @@ -695,7 +695,7 @@ public $sortorder; /** - * @link plugin_information::get_plugins() + * @see plugin_information::get_plugins() */ public static function get_plugins($type, $typerootdir, $typeclass) { @@ -721,7 +721,7 @@ } /** - * @link plugin_information::init_display_name() + * @see plugin_information::init_display_name() */ public function init_display_name() { if (!get_string_manager()->string_exists('pluginname', $this->component)) { @@ -747,7 +747,7 @@ } /** - * @link plugin_information::full_path() + * @see plugin_information::full_path() */ public function full_path($relativepath) { if (empty($this->rootdir)) { @@ -771,7 +771,7 @@ } /** - * @link plugin_information::load_disk_version() + * @see plugin_information::load_disk_version() */ public function load_disk_version() { $plugin = $this->load_version_php(); @@ -781,7 +781,7 @@ } /** - * @link plugin_information::load_required_main_version() + * @see plugin_information::load_required_main_version() */ public function load_required_main_version() { $plugin = $this->load_version_php(); @@ -804,7 +804,7 @@ } /** - * @link plugin_information::get_other_required_plugins() + * @see plugin_information::get_other_required_plugins() */ public function get_other_required_plugins() { if (is_null($this->dependencies)) { @@ -814,7 +814,7 @@ } /** - * @link plugin_information::load_db_version() + * @see plugin_information::load_db_version() */ public function load_db_version() { @@ -824,7 +824,7 @@ } /** - * @link plugin_information::init_is_standard() + * @see plugin_information::init_is_standard() */ public function init_is_standard() { @@ -844,14 +844,14 @@ } /** - * @link plugin_information::is_standard() + * @see plugin_information::is_standard() */ public function is_standard() { return $this->source === plugin_manager::PLUGIN_SOURCE_STANDARD; } /** - * @link plugin_information::get_status() + * @see plugin_information::get_status() */ public function get_status() { @@ -884,28 +884,28 @@ } /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { return null; } /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { return null; } /** - * @link plugin_information::get_uninstall_url() + * @see plugin_information::get_uninstall_url() */ public function get_uninstall_url() { return null; } /** - * @link plugin_information::get_dir() + * @see plugin_information::get_dir() */ public function get_dir() { global $CFG; @@ -954,7 +954,7 @@ class plugintype_block extends plugintype_base implements plugin_information { /** - * @link plugin_information::get_plugins() + * @see plugin_information::get_plugins() */ public static function get_plugins($type, $typerootdir, $typeclass) { @@ -983,7 +983,7 @@ } /** - * @link plugin_information::init_display_name() + * @see plugin_information::init_display_name() */ public function init_display_name() { @@ -999,7 +999,7 @@ } /** - * @link plugin_information::load_db_version() + * @see plugin_information::load_db_version() */ public function load_db_version() { global $DB; @@ -1011,7 +1011,7 @@ } /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { @@ -1028,7 +1028,7 @@ } /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { @@ -1049,7 +1049,7 @@ } /** - * @link plugin_information::get_uninstall_url() + * @see plugin_information::get_uninstall_url() */ public function get_uninstall_url() { @@ -1086,7 +1086,7 @@ class plugintype_filter extends plugintype_base implements plugin_information { /** - * @link plugin_information::get_plugins() + * @see plugin_information::get_plugins() */ public static function get_plugins($type, $typerootdir, $typeclass) { global $CFG, $DB; @@ -1156,14 +1156,14 @@ } /** - * @link plugin_information::init_display_name() + * @see plugin_information::init_display_name() */ public function init_display_name() { // do nothing, the name is set in self::get_plugins() } /** - * @link plugintype_base::load_version_php(). + * @see plugintype_base::load_version_php(). */ protected function load_version_php() { if (strpos($this->name, 'mod_') === 0) { @@ -1175,7 +1175,7 @@ } /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { @@ -1197,7 +1197,7 @@ } /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { @@ -1211,7 +1211,7 @@ } /** - * @link plugin_information::get_uninstall_url() + * @see plugin_information::get_uninstall_url() */ public function get_uninstall_url() { @@ -1285,7 +1285,7 @@ class plugintype_mod extends plugintype_base implements plugin_information { /** - * @link plugin_information::get_plugins() + * @see plugin_information::get_plugins() */ public static function get_plugins($type, $typerootdir, $typeclass) { @@ -1314,7 +1314,7 @@ } /** - * @link plugin_information::init_display_name() + * @see plugin_information::init_display_name() */ public function init_display_name() { if (get_string_manager()->string_exists('pluginname', $this->component)) { @@ -1339,7 +1339,7 @@ } /** - * @link plugin_information::load_db_version() + * @see plugin_information::load_db_version() */ public function load_db_version() { global $DB; @@ -1351,7 +1351,7 @@ } /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { @@ -1368,7 +1368,7 @@ } /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { @@ -1380,7 +1380,7 @@ } /** - * @link plugin_information::get_uninstall_url() + * @see plugin_information::get_uninstall_url() */ public function get_uninstall_url() { @@ -1420,7 +1420,7 @@ */ class plugintype_qbehaviour extends plugintype_base implements plugin_information { /** - * @link plugin_information::get_uninstall_url() + * @see plugin_information::get_uninstall_url() */ public function get_uninstall_url() { return new moodle_url('/admin/qbehaviours.php', @@ -1434,7 +1434,7 @@ */ class plugintype_qtype extends plugintype_base implements plugin_information { /** - * @link plugin_information::get_uninstall_url() + * @see plugin_information::get_uninstall_url() */ public function get_uninstall_url() { return new moodle_url('/admin/qtypes.php', @@ -1449,7 +1449,7 @@ class plugintype_auth extends plugintype_base implements plugin_information { /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { global $CFG; @@ -1469,7 +1469,7 @@ } /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { if (file_exists($this->full_path('settings.php'))) { @@ -1491,7 +1491,7 @@ * results, for example if the enrolment plugin does not contain lib.php * but it is listed in $CFG->enrol_plugins_enabled * - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { global $CFG; @@ -1506,7 +1506,7 @@ } /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { @@ -1518,7 +1518,7 @@ } /** - * @link plugin_information::get_uninstall_url() + * @see plugin_information::get_uninstall_url() */ public function get_uninstall_url() { return new moodle_url('/admin/enrol.php', array('action' => 'uninstall', 'enrol' => $this->name, 'sesskey' => sesskey())); @@ -1531,7 +1531,7 @@ class plugintype_message extends plugintype_base implements plugin_information { /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { @@ -1549,7 +1549,7 @@ class plugintype_repository extends plugintype_base implements plugin_information { /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { @@ -1559,7 +1559,7 @@ } /** - * @link plugin_information::get_settings_url() + * @see plugin_information::get_settings_url() */ public function get_settings_url() { @@ -1594,7 +1594,7 @@ class plugintype_portfolio extends plugintype_base implements plugin_information { /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { @@ -1637,7 +1637,7 @@ class plugintype_theme extends plugintype_base implements plugin_information { /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { global $CFG; @@ -1657,7 +1657,7 @@ class plugintype_mnetservice extends plugintype_base implements plugin_information { /** - * @link plugin_information::is_enabled() + * @see plugin_information::is_enabled() */ public function is_enabled() { global $CFG; diff -Naur moodle/lib/portfoliolib.php moodle2/lib/portfoliolib.php --- moodle/lib/portfoliolib.php 2012-03-28 20:18:56.470824057 +0530 +++ moodle2/lib/portfoliolib.php 2012-01-28 05:34:23.000000000 +0530 @@ -171,7 +171,7 @@ * @param array $formats if the calling code knows better than the static method on the calling class (base_supported_formats) * eg, if it's going to be a single file, or if you know it's HTML, you can pass it here instead * this is almost always the case so you should always use this. - * {@link portfolio_format_from_mimetype} for how to get the appropriate formats to pass here for uploaded files. + * {@see portfolio_format_from_mimetype} for how to get the appropriate formats to pass here for uploaded files. * or just call set_format_by_file instead */ public function set_formats($formats=null) { @@ -1166,7 +1166,7 @@ /** * Return an array of existing exports by type for a given user. - * This is much more lightweight than {@link existing_exports} because it only returns the types, rather than the whole serialised data + * This is much more lightweight than {@see existing_exports} because it only returns the types, rather than the whole serialised data * so can be used for checking availability of multiple plugins at the same time. */ function portfolio_existing_exports_by_plugin($userid) { diff -Naur moodle/lib/searchlib.php moodle2/lib/searchlib.php --- moodle/lib/searchlib.php 2012-03-28 20:18:56.474824083 +0530 +++ moodle2/lib/searchlib.php 2012-03-23 07:24:18.000000000 +0530 @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -/** @link lexer.php */ +/** @see lexer.php */ require_once($CFG->libdir.'/lexer.php'); /** Constants for the various types of tokens */ diff -Naur moodle/lib/sessionlib.php moodle2/lib/sessionlib.php --- moodle/lib/sessionlib.php 2012-03-28 20:18:56.474824083 +0530 +++ moodle2/lib/sessionlib.php 2012-03-10 05:34:31.000000000 +0530 @@ -525,7 +525,7 @@ /** * Open session handler * - * {@link http://php.net/manual/en/function.session-set-save-handler.php} + * {@see http://php.net/manual/en/function.session-set-save-handler.php} * * @param string $save_path * @param string $session_name @@ -538,7 +538,7 @@ /** * Close session handler * - * {@link http://php.net/manual/en/function.session-set-save-handler.php} + * {@see http://php.net/manual/en/function.session-set-save-handler.php} * * @return bool success */ @@ -557,7 +557,7 @@ /** * Read session handler * - * {@link http://php.net/manual/en/function.session-set-save-handler.php} + * {@see http://php.net/manual/en/function.session-set-save-handler.php} * * @param string $sid * @return string @@ -657,7 +657,7 @@ /** * Write session handler. * - * {@link http://php.net/manual/en/function.session-set-save-handler.php} + * {@see http://php.net/manual/en/function.session-set-save-handler.php} * * NOTE: Do not write to output or throw any exceptions! * Hopefully the next page is going to display nice error or it recovers... @@ -741,7 +741,7 @@ /** * Destroy session handler * - * {@link http://php.net/manual/en/function.session-set-save-handler.php} + * {@see http://php.net/manual/en/function.session-set-save-handler.php} * * @param string $sid * @return bool success @@ -764,7 +764,7 @@ /** * GC session handler * - * {@link http://php.net/manual/en/function.session-set-save-handler.php} + * {@see http://php.net/manual/en/function.session-set-save-handler.php} * * @param int $ignored_maxlifetime moodle uses special timeout rules * @return bool success diff -Naur moodle/lib/session-test.php moodle2/lib/session-test.php --- moodle/lib/session-test.php 2012-03-28 20:18:56.474824083 +0530 +++ moodle2/lib/session-test.php 2010-01-17 05:30:40.000000000 +0530 @@ -29,7 +29,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -/** Include config {@link config.php} */ +/** Include config {@see config.php} */ require '../config.php'; $PAGE->set_url('/lib/session-test.php'); diff -Naur moodle/lib/weblib.php moodle2/lib/weblib.php --- moodle/lib/weblib.php 2012-03-28 20:18:56.482824111 +0530 +++ moodle2/lib/weblib.php 2012-03-02 05:34:12.000000000 +0530 @@ -105,7 +105,7 @@ * * Prints $var with HTML characters (like "<", ">", etc.) properly quoted. * This function simply calls {@link s()} - * @link s() + * @see s() * * @todo Remove obsolete param $obsolete if not used anywhere * @@ -204,7 +204,7 @@ * NOTE: This function returns false if the global variables needed are not set. * * Like {@link me()} but returns a full URL - * @link me() + * @see me() * * @global string * @return mixed String, or false if the global variables needed are not set @@ -938,7 +938,7 @@ * the text as safe HTML. * * This function should mainly be used for long strings like posts, - * answers, glossary items etc. For short strings @link format_string(). + * answers, glossary items etc. For short strings @see format_string(). * *
  * Options:
@@ -1529,7 +1529,7 @@
  * May contain HTML tags already
  *
  * Do not abuse this function. It is intended as lower level formatting feature used
- * by {@link format_text()} to convert FORMAT_MOODLE to HTML. You are supposed
+ * by {@see format_text()} to convert FORMAT_MOODLE to HTML. You are supposed
  * to call format_text() in most of cases.
  *
  * @param string $text The string to convert.