PHP Class Pommo_Mail_Ctl, poMMo

This file is part of poMMo (http://www.pommo.org) poMMo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or any later version. poMMo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with program; see the file docs/LICENSE. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ファイルを表示 Open project: soonick/poMMo Class Usage Examples

Public Methods

Method Description
addNotices ( $id )
delNotices ( $id, $keep = 50 ) accepts # of notices to keep -- if 0, none are kept
finish ( $id, $cancel = false, $test = false ) shortens notices to the last 50
mark ( $serial, $id ) returns success (bool)
queueMake ( &$in ) returns (bool) - true if success
spawn ( $page, $log = false ) * spawn spawns a page in the background, used by mail processor.

Method Details

addNotices() public method

public addNotices ( $id )

delNotices() public method

accepts # of notices to keep -- if 0, none are kept
public delNotices ( $id, $keep = 50 )

finish() public method

shortens notices to the last 50
public finish ( $id, $cancel = false, $test = false )

mark() public method

returns success (bool)
public mark ( $serial, $id )

queueMake() public method

returns (bool) - true if success
public queueMake ( &$in )

spawn() public method

* spawn spawns a page in the background, used by mail processor.
public spawn ( $page, $log = false )
$log