/**
  * returns all the column names of this table
  *
  * @access public
  * @return array
  */
 static function &fields()
 {
     if (!self::$_fields) {
         self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'msg_title' => array('name' => 'msg_title', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Msg Title'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'msg_subject' => array('name' => 'msg_subject', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Msg Subject')), 'msg_text' => array('name' => 'msg_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Msg Text'), 'rows' => 10, 'cols' => 75), 'msg_html' => array('name' => 'msg_html', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Msg Html'), 'rows' => 10, 'cols' => 75), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Active'), 'default' => ''), 'workflow_id' => array('name' => 'workflow_id', 'type' => CRM_Utils_Type::T_INT), 'is_default' => array('name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'default' => ''), 'is_reserved' => array('name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN), 'pdf_format_id' => array('name' => 'pdf_format_id', 'type' => CRM_Utils_Type::T_INT, 'FKClassName' => 'CRM_Core_DAO_OptionValue'));
     }
     return self::$_fields;
 }