/** * constructor * * @access public * @return void */ public function __construct() { //set name and description properties $this->name = 'email'; $this->description = __('This messenger delivers messages via email using the built-in <code>wp_mail</code> function included with WordPress', 'event_espresso'); $this->label = array('singular' => __('email', 'event_espresso'), 'plural' => __('emails', 'event_espresso')); //we're using defaults so let's call parent constructor that will take care of setting up all the other properties parent::__construct(); }
/** * @return EE_Pdf_messenger */ public function __construct() { //set properties $this->name = 'pdf'; $this->description = __('This messenger is used for generating a pdf version of the message.', 'event_espresso'); $this->label = array('singular' => __('PDF', 'event_espresso'), 'plural' => __('PDFs', 'event_espresso')); $this->activate_on_install = TRUE; parent::__construct(); }
public function __construct() { //set properties $this->name = 'html'; $this->description = __('This messenger outputs a message to a browser for display.', 'event_espresso'); $this->label = array('singular' => __('html', 'event_espresso'), 'plural' => __('html', 'event_espresso')); $this->activate_on_install = TRUE; parent::__construct(); }