<br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 3:43 PM, Jan Schneider <span dir="ltr"><<a href="mailto:jan@horde.org">jan@horde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Please keep the discussion on the mailing list.</blockquote><div><br>I'm sorry. This mailing list stuff is quite new to me. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5"><br>
<br>
Zitat von hasis hasis <<a href="mailto:hasis053341@gmail.com" target="_blank">hasis053341@gmail.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Thu, Mar 31, 2011 at 1:53 PM, Jan Schneider <<a href="mailto:jan@horde.org" target="_blank">jan@horde.org</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Zitat von hasis hasis <<a href="mailto:hasis053341@gmail.com" target="_blank">hasis053341@gmail.com</a>>:<br>
<br>
Hello,<br>
is the format of $_prefs hash documented somewhere? I have just found TODO<br>
in file lib/horde/Prefs.php:<br>
* TODO: document the format of the $_prefs hash here<br>
<br>
Thank you.<br>
<br>
Matej Hasul<br>
<br>
<br>
It's documented in config/prefs.php<br>
<br>
Jan.<br>
<br>
--<br>
Do you need professional PHP or Horde consulting?<br>
<a href="http://horde.org/consulting/" target="_blank">http://horde.org/consulting/</a><br>
<br>
__<br>
doc mailing list<br>
Frequently Asked Questions: <a href="http://horde.org/faq/" target="_blank">http://horde.org/faq/</a><br>
To unsubscribe, mail: <a href="mailto:doc-unsubscribe@lists.horde.org" target="_blank">doc-unsubscribe@lists.horde.org</a><br>
<br>
<br>
</blockquote>
Thanks for response. I was looking to horde/config/prefs.php in git, but<br>
can`t find it. I`m interested in format of $_pref *hash*, not $_prefs array<br>
attributes. What is format of "value" attribute in following example:<br>
<br>
// alarm methods<br>
$_prefs['event_alarms'] = array(<br>
//'value' => 'a:1:{s:6:"notify";a:0:{}}',<br>
'value' =><br>
'a:1:{s:4:"mail";a:2:{s:6:"__desc";s:0:"";s:5:"email";s:0:"";}}',<br>
'locked' => false,<br>
'shared' => false,<br>
'type' => 'alarm',<br>
'desc' => _("Choose how you want to receive reminders for events with<br>
alarms:")<br>
);<br>
</blockquote>
<br></div></div>
Array *are* hashes in PHP.<br>
<br>
Or are you talking about 'a:1:{s:6:"notify";a:0:{}}'? This is a serialized PHP value: <a href="http://php.net/serialize" target="_blank">http://php.net/serialize</a><br>
<br></blockquote><div><br>Yes! PHP serialized value - that is what I needed to know.<br><br>Thank you veru much.<br><br>Regards<br>Matej Hasul <br></div></div><br>