<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Get_dob_Spell_method</id>
		<title>Get dob Spell method - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Get_dob_Spell_method"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Get_dob_Spell_method&amp;action=history"/>
		<updated>2026-04-17T14:34:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Get_dob_Spell_method&amp;diff=4332&amp;oldid=prev</id>
		<title>Kowy: New page: __NOTOC__ Category:Customizations Category:r6 Category:r11 Category:r12 Category:Spell Code {{Global Header}} {{Global Announcement}} == Overview == This method loads f...</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Get_dob_Spell_method&amp;diff=4332&amp;oldid=prev"/>
				<updated>2011-06-03T14:16:48Z</updated>
		
		<summary type="html">&lt;p&gt;New page: __NOTOC__ &lt;a href=&quot;/wiki/index.php?title=Category:Customizations&quot; title=&quot;Category:Customizations&quot;&gt;Category:Customizations&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:R6&quot; title=&quot;Category:R6&quot;&gt;Category:r6&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:R11&quot; title=&quot;Category:R11&quot;&gt;Category:r11&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:R12&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:R12 (page does not exist)&quot;&gt;Category:r12&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:Spell_Code&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Spell Code (page does not exist)&quot;&gt;Category:Spell Code&lt;/a&gt; {{Global Header}} {{Global Announcement}} == Overview == This method loads f...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
[[Category:Spell Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
== Overview ==&lt;br /&gt;
This method loads from database an object connected over SREL relation to an another object and return it as full DOB object.&lt;br /&gt;
&lt;br /&gt;
This action can be called in [[Spel_Reference_Guide|spell code]] in method [[send_wait]] for [[Send_WaitCall_Attr|call_attr]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
void send_wait (int timeout, object top_object, &amp;quot;call_attr&amp;quot;, string attr_name, &amp;quot;get_dob&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* timeout - how long (?in seconds?) should the method wait for finishing the method (0 means infinite)&lt;br /&gt;
* top_object - object where the attribute is placed&lt;br /&gt;
* attr_name - name of SREL attribute&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
On success attribute DOB object is in the first position of global array '''msg'''.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
object retval;&lt;br /&gt;
retval = msg[0];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Part of code to read request Affected End User&lt;br /&gt;
send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;customer&amp;quot;, &amp;quot;get_dob&amp;quot;);&lt;br /&gt;
if (msg_error()) {&lt;br /&gt;
    logf(ERROR, &amp;quot;%s: error in get_dob(customer): %s&amp;quot;, method, msg[0]);&lt;br /&gt;
    return;&lt;br /&gt;
}&lt;br /&gt;
object aff_eu;&lt;br /&gt;
aff_eu = msg[0];&lt;br /&gt;
....&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kowy</name></author>	</entry>

	</feed>