Alternc  latest
Alternc logiel libre pour l'hébergement
m_mailman Class Reference

Public Member Functions

 enum_ml ($domain=null, $order_by=array('domain', 'list'))
 

Detailed Description

Definition at line 41 of file CODING_CONVENTION.php.

Member Function Documentation

◆ enum_ml()

m_mailman::enum_ml (   $domain = null,
  $order_by = array('domain', 'list') 
)

here we put a full long description of the function's behavior, in english

this description may span multiple lines

Parameters
$domainstring ## each param has its
line,followedby the param name ($domain) type (string) and description ##
Returns
array ## a
line is added when the function returns anything, followed by the returned type and description ##

Definition at line 53 of file CODING_CONVENTION.php.

53  {
54 ## function which consist of more than one word are separated by _ ##
55 ## private functions are prefixed by "private" and their name starts by "_" ##
56  global $err,$db,$cuid;
57 ## use the globals for $db (database mapper), $cuid (uid of current alternc's user) $err (error/log mapper)
58  $err->log("mailman","enum_ml");
59 ## when calling an important function, log it that way ##
60 ## when raising an error, use the following syntax ##
61  $err->raise("classname",_("text in english"));
62  }
global $db
Definition: bootstrap.php:26
$err
Definition: bootstrap.php:72
$cuid
Definition: bootstrap.php:43

References $cuid, $db, and $err.


The documentation for this class was generated from the following file: