9 * This source file is subject to the new BSD license that is bundled
10 * with this package in the file LICENSE.
11 * It is also available through the world-wide-web at this URL:
12 * http://phergie.org/license
15 * @package Phergie_Plugin_Part
16 * @author Phergie Development Team <team@phergie.org>
17 * @copyright 2008-2010 Phergie Development Team (http://phergie.org)
18 * @license http://phergie.org/license New BSD License
19 * @link http://pear.phergie.org/package/Phergie_Plugin_Part
23 * Parts a specified channel on command from a user.
26 * @package Phergie_Plugin_Part
27 * @author Phergie Development Team <team@phergie.org>
28 * @license http://phergie.org/license New BSD License
29 * @link http://pear.phergie.org/package/Phergie_Plugin_Part
30 * @uses Phergie_Plugin_Command pear.phergie.org
32 class Phergie_Plugin_Part extends Phergie_Plugin_Abstract
35 * Checks for dependencies.
39 public function onLoad()
41 $this->getPluginHandler()->getPlugin('Command');
47 * @param string $channels Comma-delimited list of channels to leave
51 public function onCommandPart($channels)
53 $this->doPart($channels);