<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3Alib%2Fweblib.php_moodle_url</id>
	<title>Development:lib/weblib.php moodle url - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3Alib%2Fweblib.php_moodle_url"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:lib/weblib.php_moodle_url&amp;action=history"/>
	<updated>2026-05-06T20:49:19Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:lib/weblib.php_moodle_url&amp;diff=12284&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:lib/weblib.php_moodle_url&amp;diff=12284&amp;oldid=prev"/>
		<updated>2024-10-21T08:59:29Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 08:59, 21 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:lib/weblib.php_moodle_url&amp;diff=12283&amp;oldid=prev</id>
		<title>1&gt;TimHunt в 14:20, 10 октября 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:lib/weblib.php_moodle_url&amp;diff=12283&amp;oldid=prev"/>
		<updated>2007-10-10T14:20:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Moodle 1.9}}&lt;br /&gt;
&lt;br /&gt;
moodle_url is a new class available from Moodle 1.9 onwards in weblib.php. It can be used in moodle pages where config.php has been included without any further includes.&lt;br /&gt;
&lt;br /&gt;
It is useful for manipulating urls with long lists of params. One situation where it will be useful is a page which links to itself to perfrom various actions and / or to process form data. A moodle_url object :&lt;br /&gt;
&lt;br /&gt;
* can be created for a page to refer to itself with all the proper get params being passed from page call to page call &lt;br /&gt;
* and methods can be used to output a url including all the params, optionally adding and overriding params&lt;br /&gt;
* and can also be used to &lt;br /&gt;
** output the url without any get params &lt;br /&gt;
** and output the params as hidden fields to be output within a form&lt;br /&gt;
&lt;br /&gt;
See phpdoc comments on methods for more information on the use of this class.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;One important usage note&amp;#039;&amp;#039;&amp;#039; is that data passed to methods out, out_action, get_query_string and hidden_params_out affect what is returned by the function and do not change the data stored in the object. This is to help with typical usage of these objects where one object is used to output urls in many places in a page.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Development:lib/weblib.php]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>1&gt;TimHunt</name></author>
	</entry>
</feed>