gunnar: server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve Segment.php, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Thu Apr 1 00:43:36 CEST 2010


Author: gunnar

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve
In directory doto:/tmp/cvs-serv19952/kolab-webadmin/lib/KolabAdmin/Sieve

Added Files:
	Segment.php 
Log Message:
More stubs.

--- NEW FILE: Segment.php ---
<?php
/**
 * A sieve script that handles mail delivery to a specific folder.
 *
 * PHP version 5
 *
 * @category Kolab
 * @package  KolabAdmin
 * @author   Gunnar Wrobel <wrobel at pardus.de>
 * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
 * @link     http://www.kolab.org
 */

/**
 * A sieve script that handles mail delivery to a specific folder.
 *
 * Copyright 2010 Klarälvdalens Datakonsult AB
 *
 * See the enclosed file COPYING for license information (LGPL). If you did not
 * receive this file, see
 * http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
 *
 * @category Kolab
 * @package  KolabAdmin
 * @author   Gunnar Wrobel <wrobel at pardus.de>
 * @license  http://www.fsf.org/copyleft/lgpl.html LGPL
 * @link     http://www.kolab.org
 */
class KolabAdmin_Sieve_Segment
{
    /**
     * Is this particular segment active?
     *
     * @var bool
     */
    private $_active = false;

    /**
     * Constructor.
     */
    public function __construct()
    {
    }

    /**
     * Is this particular segment active?
     *
     * @return bool True if the segment is active.
     */
    public function isActive()
    {
        return $this->_active;
    }

    /**
     * Set the segment active.
     *
     * @return NULL
     */
    public function setActive()
    {
        $this->_active = true;
    }

    /**
     * Set the segment inactive.
     *
     * @return NULL
     */
    public function setInactive()
    {
        $this->_active = false;
    }

    public function generate()
    {
        return '';
    }
}




More information about the commits mailing list