/** * php4 construct */ function mgm_autoresponder() { // call parent parent::__construct(); // set code $this->code = __CLASS__; // desc $this->description = __('<p>Autoresponder module description</p>', 'mgm'); }
function mgm_plugin() { // call parent parent::__construct(); // set code $this->code = __CLASS__; // desc $this->description = __('plugin description', 'mgm'); // default settings $this->_default_setting(); }
/** * php4 construct */ function mgm_payment() { // call parent parent::__construct(); // set code $this->code = __CLASS__; // desc $this->description = __('Payment module description', 'mgm'); // supported buttons types $this->supported_buttons = array('subscription', 'buypost'); // card type values $this->card_types = array('Amex' => __('Amex', 'mgm'), 'Discover' => __('Discover', 'mgm'), 'Mastercard' => __('Mastercard', 'mgm'), 'Visa' => __('Visa', 'mgm')); // default settings $this->_default_setting(); }