+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* This class provides the functionality to sms a group of
public $_single = FALSE;
/**
- * All the existing templates in the system
+ * All the existing templates in the system.
*
* @var array
*/
public $_templates = NULL;
/**
- * Build all the data structures needed to build the form
+ * Build all the data structures needed to build the form.
*
* @return void
*/
}
/**
- * Build the form object
+ * Build the form object.
*
*
* @return void
}
/**
- * Process the form after the input has been submitted and validated
+ * Process the form after the input has been submitted and validated.
*
*
* @return void
public function postProcess() {
CRM_Contact_Form_Task_SMSCommon::postProcess($this);
}
+
+ /**
+ * List available tokens for this form.
+ *
+ * @return array
+ */
+ public function listTokens() {
+ $tokens = CRM_Core_SelectValues::contactTokens();
+ return $tokens;
+ }
+
}