/**
  * Constructor
  *
  * @mvc Controller
  */
 protected function __construct()
 {
     $this->register_hook_callbacks();
     $this->modules = array('settings' => WPEM_Settings::get_instance(), 'email_templates' => WPEM_Email_Template::get_instance(), 'cron' => WPEM_Cron::get_instance(), 'schedules' => WPEM_Schedules::get_instance(), 'notifications' => WPEM_Notifications::get_instance());
     add_action('wp_ajax_wpem_all_ajax', array($this, 'all_ajax'));
     add_action('wp_ajax_nopriv_wpem_all_ajax', array($this, 'all_ajax'));
 }
 public function __construct()
 {
     $this->WPEM_Settings = WPEM_Settings::get_instance();
 }