Overview

Packages

  • None
  • Vilma

Classes

  • Vilma
  • Vilma_Api
  • Vilma_Driver
  • Vilma_Driver_Qmailldap
  • Vilma_Driver_Sql
  • Vilma_Form_DeleteDomain
  • Vilma_Form_EditAlias
  • Vilma_Form_EditDomain
  • Vilma_Form_EditForward
  • Vilma_Form_EditUser
  • Vilma_MailboxDriver
  • Vilma_MailboxDriver_Hooks
  • Vilma_MailboxDriver_Imap
  • Vilma_MailboxDriver_Maildrop
  • Vilma_MailboxDriver_Null
  • Vilma_Test
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * Vilma external API interface.
 4:  *
 5:  * This file defines Vilma's external API interface. Other applications
 6:  * can interact with Vilma through this API.
 7:  *
 8:  * Copyright 2006-2007 Alkaloid Networks <http://www.alkaloid.net/>
 9:  *
10:  * See the enclosed file LICENSE for license information (BSD). If you did not
11:  * did not receive this file, see http://cvs.horde.org/co.php/vilma/LICENSE.
12:  *
13:  * @author  Ben Klang <ben@alkaloid.net>
14:  * @package Vilma
15:  */
16: class Vilma_Api extends Horde_Registry_Api
17: {
18:     public function listDomains()
19:     {
20:         $domains = array();
21:         foreach ($GLOBALS['vilma']->driver->getDomains() as $domain) {
22:             $domains[] = $domain['domain_name'];
23:         }
24:         return $domains;
25:     }
26: }
27: 
API documentation generated by ApiGen