/**
  * Setup the class.
  *
  * @access public
  * @since 0.7.8
  * @return (void)
  */
 public static function init()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
         self::$templates = new stdClass();
     }
 }
 /**
  * Register a template for use.
  *
  * @access public
  * @since 0.7.8
  * @param (array) $atts
  * @return (void)
  */
 public static function register()
 {
     $atts = array('name' => 'Default', 'type' => 'html', 'version' => '1.0', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'The default email template.', 'parts' => array('body' => array(__CLASS__, 'defaultBody')));
     cnEmail_Template::register($atts);
     $atts = array('name' => 'Plain Text', 'slug' => 'text', 'type' => 'text', 'version' => '1.0', 'author' => 'Steven A. Zahm', 'authorURL' => 'connections-pro.com', 'description' => 'The plain text email template.');
     cnEmail_Template::register($atts);
 }