-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Axel Gebauer wrote:
| Hello,

Greetings!

| I didn't found out, how Aegir stores the starting datetime of an
| article. The Article-Calstart-Field is in date format only. Where does
| Aegir stores hours and minutes? Does anyone know? Many thanks for any
hint.

Aegir stores the hours and minutes as parameters:
$article->parameter("approve_time","starthours");
$article->parameter("approve_time","startminutes");
$article->parameter("approve_time","endhours");
$article->parameter("approve_time","endminutes");

If you want to perform a check if article is approved and visible
according to Aegir, there is a function
nemein_is_article_online($article->id) in snippet /NemeinNavBar/Utils
which ships with Aegir CMS.

| Axel

/Bergie

- --
Henri Bergius                           [EMAIL PROTECTED]
Consultant Partner                      Tel: +358-20-198 6032
Nemein Oy                               http://www.nemein.com/

Nemein.Net -- Project tracking solution for consulting companies
http://www.nemein.com/en/nemeinnet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/hxDlNkT8k497k9IRAuoLAKC6mT4wlIx/cFzmYhlsVwEJ1Fr05ACfSb6o
0KQpAAGsvWWZyV/wYJNvL1k=
=zyGv
-----END PGP SIGNATURE-----


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to