On Fri, 2003-03-07 at 15:45, Awlad Hussain wrote:
> How would I get the company information? is there a object available
> for this? I am using aegir

The Companies in Aegir CMS are actually Sitegroup objects:
http://www.midgard-project.org/manual/en/object.sitegroup.php

The company contact information is stored under the admin 
group.

For example, you can shown the email address of the current
company:

<?php
$company = mgd_get_sitegroup($midgard->sitegroup);
$admingroup = mgd_get_group($company->admingroup);
echo $admingroup->email;
?>

> awlad

/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/Nemein.Net/


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

Reply via email to