[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/sitemgr/inc/ -> class.ntf_message_so.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare SiteMgr - Web Content Management                              *
   4      * http://www.egroupware.org                                                *
   5      * --------------------------------------------                             *
   6      *  This program is free software; you can redistribute it and/or modify it *
   7      *  under the terms of the GNU General Public License as published by the   *
   8      *  Free Software Foundation; either version 2 of the License, or (at your  *
   9      *  option) any later version.                                              *
  10      \**************************************************************************/
  11  
  12      /* $Id: class.ntf_message_so.inc.php 20295 2006-02-15 12:31:25Z  $ */
  13  
  14      class NtfMessages_SO
  15      {
  16          var $db;
  17  
  18  		function NtfMessages_SO()
  19          {
  20              $this->db = clone($GLOBALS['egw']->db);
  21              $this->db->app = 'sitemgr_module_notify';  // as we run as sitemgr !
  22              $this->messages_table = 'egw_sitemgr_notify_messages';
  23          }
  24  
  25  		function list_languages($site_id)
  26          {
  27              $this->db->select($this->messages_table,array('language'),
  28                  'site_id='.$site_id,__LINE__,__FILE__);
  29  
  30              while($this->db->next_record())
  31              {
  32                  $result[] = $this->db->f('language');
  33              }
  34              return $result;
  35          }
  36  
  37      }
  38  


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7