Changeset 262

Show
Ignore:
Timestamp:
04/10/08 22:38:53 (9 months ago)
Author:
shupp
Message:

CS fixes in MailingLists?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Framework/Module/MailingLists.php

    r193 r262  
    33 * Framework_Module_MailingLists  
    44 *  
    5  * @uses Framework_Auth_User 
    6  * @package ToasterAdmin 
    7  * @copyright 2007 Bill Shupp 
    8  * @author Bill Shupp <hostmaster@shupp.org>  
    9  * @license GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
     5 * PHP Version 5.1.0+ 
     6 *  
     7 * @uses       Framework_Auth_User 
     8 * @category   Mail 
     9 * @package    ToasterAdmin 
     10 * @subpackage Module 
     11 * @author     Bill Shupp <hostmaster@shupp.org>  
     12 * @copyright  2007-2008 Bill Shupp 
     13 * @license    GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
     14 * @link       http://trac.merchbox.com/trac/toasteradmin 
    1015 */ 
    1116 
     
    1520 * Management of ezmlm-idx lists through vpopmaild 
    1621 *  
    17  * @uses Framework_Auth_User 
    18  * @package ToasterAdmin 
    19  * @copyright 2007 Bill Shupp 
    20  * @author Bill Shupp <hostmaster@shupp.org>  
    21  * @license GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
     22 * @uses       Framework_Auth_User 
     23 * @category   Mail 
     24 * @package    ToasterAdmin 
     25 * @subpackage Module 
     26 * @author     Bill Shupp <hostmaster@shupp.org>  
     27 * @copyright  2007-2008 Bill Shupp 
     28 * @license    GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
     29 * @link       http://trac.merchbox.com/trac/toasteradmin 
    2230 */ 
    23 class Framework_Module_MailingLists extends ToasterAdmin_Commo
     31class Framework_Module_MailingLists extends ToasterAdmin_Auth_Domai
    2432{ 
    25     public function __construct() { 
     33    /** 
     34     * __construct  
     35     *  
     36     * Check that a domain was supplied. 
     37     *  
     38     * @access public 
     39     * @return void 
     40     */ 
     41    public function __construct() 
     42    { 
    2643        parent::__construct(); 
    2744        // Check that the domain was supplied 
    28         if (($result = $this->noDomainSupplied() { 
     45        if ($this->noDomainSupplied()) { 
    2946            return $result; 
    3047        } 
    31         // Check that they have domain edit privilges 
    32         if (($result = $this->noDomainPrivs() { 
    33             return $result; 
    34         } 
    35         $this->user->setDefaultEzmlmOpts(); 
     48        // $this->user->setDefaultEzmlmOpts(); 
    3649    } 
    3750 
    38     public function __default() { 
     51    /** 
     52     * __default  
     53     *  
     54     * Call $this->listLists() 
     55     *  
     56     * @access public 
     57     * @return void 
     58     */ 
     59    public function __default() 
     60    { 
    3961        return $this->listLists(); 
    4062    } 
    4163 
    42     protected function checkPrivileges() { 
     64    /** 
     65     * listLists  
     66     *  
     67     * List ezmlm mailing lists 
     68     *  
     69     * @access public 
     70     * @return void 
     71     */ 
     72    public function listLists() 
     73    { 
    4374    } 
    4475 
    45     public function listLists() { 
     76    /** 
     77     * addList  
     78     *  
     79     * Show add list page 
     80     *  
     81     * @access public 
     82     * @return void 
     83     */ 
     84    public function addList() 
     85    { 
    4686    } 
    4787 
    48     public function addList() { 
     88    /** 
     89     * addListNow  
     90     *  
     91     * Try and add a list 
     92     *  
     93     * @access public 
     94     * @return void 
     95     */ 
     96    public function addListNow() 
     97    { 
    4998    } 
    5099 
    51     public function addListNow() { 
     100    /** 
     101     * modifyList  
     102     *  
     103     * Show modify list page 
     104     *  
     105     * @access public 
     106     * @return void 
     107     */ 
     108    public function modifyList() 
     109    { 
    52110    } 
    53111 
    54     public function modifyList() { 
     112    /** 
     113     * modifyListNow  
     114     *  
     115     * Try and modify a list 
     116     *  
     117     * @access public 
     118     * @return void 
     119     */ 
     120    public function modifyListNow() 
     121    { 
    55122    } 
    56123 
    57     public function modifyListNow() { 
     124    /** 
     125     * deleteList  
     126     *  
     127     * Show delete list confirmation 
     128     *  
     129     * @access public 
     130     * @return void 
     131     */ 
     132    public function deleteList() 
     133    { 
    58134    } 
    59135 
    60     public function deleteList() { 
     136    /** 
     137     * deleteListNow  
     138     *  
     139     * Delete a list 
     140     *  
     141     * @access public 
     142     * @return void 
     143     */ 
     144    public function deleteListNow() 
     145    { 
    61146    } 
    62147 
    63     public function deleteListNow() { 
    64     } 
    65  
    66     public function deleteListCancel() { 
     148    /** 
     149     * deleteListCancel  
     150     *  
     151     * Cancel list deletion and go back to listing lists 
     152     *  
     153     * @access public 
     154     * @return void 
     155     */ 
     156    public function deleteListCancel() 
     157    { 
    67158    } 
    68159} 
    69160?> 
    70