<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://mdminfo.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9B%D0%BE%D0%BA%D0%B0%D1%86%D0%B8%D1%8F</id>
	<title>Локация - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://mdminfo.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9B%D0%BE%D0%BA%D0%B0%D1%86%D0%B8%D1%8F"/>
	<link rel="alternate" type="text/html" href="https://mdminfo.ru/index.php?title=%D0%9B%D0%BE%D0%BA%D0%B0%D1%86%D0%B8%D1%8F&amp;action=history"/>
	<updated>2026-06-02T15:16:45Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://mdminfo.ru/index.php?title=%D0%9B%D0%BE%D0%BA%D0%B0%D1%86%D0%B8%D1%8F&amp;diff=1820&amp;oldid=prev</id>
		<title>Mixman: /* Примеры запросов */</title>
		<link rel="alternate" type="text/html" href="https://mdminfo.ru/index.php?title=%D0%9B%D0%BE%D0%BA%D0%B0%D1%86%D0%B8%D1%8F&amp;diff=1820&amp;oldid=prev"/>
		<updated>2022-01-23T10:26:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Примеры запросов&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 13:26, 23 января 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Строка 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Примеры запросов==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Примеры запросов==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$relays = getObjectsByClass(&amp;quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;GazSensors&lt;/del&gt;&amp;quot;);  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$relays = getObjectsByClass(&amp;quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Relays&lt;/ins&gt;&amp;quot;);  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;foreach($relays as $relay)  {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;foreach($relays as $relay)  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$location_id =  getObject($relay['TITLE'])-&amp;gt;location_id;	&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$location_id =  getObject($relay['TITLE'])-&amp;gt;location_id;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mixman</name></author>
	</entry>
	<entry>
		<id>https://mdminfo.ru/index.php?title=%D0%9B%D0%BE%D0%BA%D0%B0%D1%86%D0%B8%D1%8F&amp;diff=1819&amp;oldid=prev</id>
		<title>Mixman: Новая страница: «Category:Примеры ==Описание== Выводим в человеческом виде локацию, привязанную в объекте.  &lt;p...»</title>
		<link rel="alternate" type="text/html" href="https://mdminfo.ru/index.php?title=%D0%9B%D0%BE%D0%BA%D0%B0%D1%86%D0%B8%D1%8F&amp;diff=1819&amp;oldid=prev"/>
		<updated>2022-01-23T10:18:47Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «&lt;a href=&quot;/wiki/%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:%D0%9F%D1%80%D0%B8%D0%BC%D0%B5%D1%80%D1%8B&quot; title=&quot;Категория:Примеры&quot;&gt;Category:Примеры&lt;/a&gt; ==Описание== Выводим в человеческом виде локацию, привязанную в объекте.  &amp;lt;p...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Примеры]]&lt;br /&gt;
==Описание==&lt;br /&gt;
Выводим в человеческом виде локацию, привязанную в объекте.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$location_id =  getObject($relay['TITLE'])-&amp;gt;location_id;&lt;br /&gt;
$location = SQLSelectOne(&amp;quot;SELECT `TITLE` FROM `locations` WHERE`ID`= '&amp;quot;.$location_id.&amp;quot;'&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Примеры запросов==&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$relays = getObjectsByClass(&amp;quot;GazSensors&amp;quot;); &lt;br /&gt;
foreach($relays as $relay)  {&lt;br /&gt;
	$location_id =  getObject($relay['TITLE'])-&amp;gt;location_id;	&lt;br /&gt;
	$location = SQLSelectOne(&amp;quot;SELECT `TITLE` FROM `locations` WHERE`ID`= '&amp;quot;.$location_id.&amp;quot;'&amp;quot;);&lt;br /&gt;
print($location['TITLE']); // напишет кухня и тд&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Mixman</name></author>
	</entry>
</feed>