Location: PHPKode > scripts > SnPayPalApi > snpaypalapi/lib/SnPayPalCliMethod.abstract.php
<?php
 /**
 * 
 * 
 * @author Michael J. Burgess
 * @package SnPayPal
 * @subpackage SnCliPayPal
 * @copyright Michael J. Burgess, 2008
 * @version 1.0
 * @licence MIT
 */
 
 /**
 * Abstract class which all objects passed to SnPayPalCli should extend from
 *
 */
abstract class SnPayPalCliMethod
{
    public $SnCliSendOutput;
    public $SnCliRequireReturn;
    
    abstract public function getCliCommands();
    
    /**
     * Disable output sent from SnPayPalCli
     *
     */
    protected function disableAutoOutput()
    {
        $this->SnCliSendOutput = false;
    }
    
    /**
     * Disable a request for the user to press enter to quit the app.
     *
     */
    protected function disableReturnRequest()
    {
        $this->SnCliRequireReturn = false;
    }
}

?>
Return current item: SnPayPalApi