*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
- * This class provides the common functionality for creating PDF letter for
- * one or a group of contact ids.
+ * This class provides the common functionality for creating PDF letter for one or a group of contact ids.
*/
class CRM_Contact_Form_Task_PDFLetterCommon {
* Build all the data structures needed to build the form.
*
* @param CRM_Core_Form $form
- *
- * @return void
*/
public static function preProcess(&$form) {
$messageText = array();
* Build the form object.
*
* @var CRM_Core_Form $form
- *
- * @return void
*/
public static function buildQuickForm(&$form) {
// This form outputs a file so should never be submitted via ajax
/**
* Process the form after the input has been submitted and validated.
*
- *
* @param CRM_Core_Form $form
- *
- * @return void
*/
public static function postProcess(&$form) {
list($formValues, $categories, $html_message, $messageToken, $returnProperties) = self::processMessageTemplate($form);
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
- * This class provides the functionality for batch profile update
+ * This class provides the functionality for batch profile update.
*/
class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
/**
* Build all the data structures needed to build the form.
- *
- * @return void
*/
public function preProcess() {
// initialize the task and row fields
/**
* Build the form object.
- *
- *
- * @return void
*/
public function buildQuickForm() {
CRM_Utils_System::setTitle(ts('Batch Profile Update for Contact'));
/**
* Add local and global form rules.
- *
- *
- * @return void
*/
public function addRules() {
$this->addFormRule(array('CRM_Contact_Form_Task_PickProfile', 'formRule'));
/**
* Process the form after the input has been submitted and validated.
- *
- *
- * @return void
*/
public function postProcess() {
$params = $this->exportValues();
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
/**
* Build all the data structures needed to build the form.
- *
- * @return void
*/
public function preProcess() {
parent::preprocess();
* Build the form object - it consists of
* - displaying the QILL (query in local language)
* - displaying elements for saving the search
- *
- *
- * @return void
*/
public function buildQuickForm() {
//
/**
* Process the form after the input has been submitted and validated.
- *
- *
- * @return void
*/
public function postProcess() {
// redirect to the main search page after printing is over
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
- * This class provides the functionality to support Proximity Searches
+ * This class provides the functionality to support Proximity Searches.
*/
class CRM_Contact_Form_Task_ProximityCommon extends CRM_Contact_Form_Task {
/**
* Build all the data structures needed to build the form.
- *
- * @return void
*/
public function preProcess() {
// initialize the task and row fields
/**
* Build the form object.
*
- *
* @param CRM_Core_Form $form
- * @param $proxSearch
- *
- * @return void
+ * @param int $proxSearch
*/
public function buildQuickForm($form, $proxSearch) {
// is proximity search required (2) or optional (1)?
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
/**
* Build the form object.
- *
- *
- * @return void
*/
public function buildQuickForm() {
// add select for groups
/**
* Process the form after the input has been submitted and validated.
- *
- *
- * @return void
*/
public function postProcess() {
$groupId = $this->controller->exportValue('RemoveFromGroup', 'group_id');
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
/**
* Build the form object.
- *
- *
- * @return void
*/
public function buildQuickForm() {
// add select for tag
/**
* Process the form after the input has been submitted and validated.
- *
- *
- * @return void
*/
public function postProcess() {
//get the submitted values in an array
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
* Used for displaying results
- *
- *
*/
class CRM_Contact_Form_Task_Result extends CRM_Contact_Form_Task {
/**
* Build all the data structures needed to build the form.
- *
- * @return void
*/
public function preProcess() {
$session = CRM_Core_Session::singleton();
/**
* Build the form object.
- *
- * @return void
*/
public function buildQuickForm() {
$this->addButtons(array(
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
- * This class provides the functionality to sms a group of
- * contacts.
+ * This class provides the functionality to sms a group of contacts.
*/
class CRM_Contact_Form_Task_SMS extends CRM_Contact_Form_Task {
/**
* Build the form object.
- *
- *
- * @return void
*/
public function buildQuickForm() {
//enable form element
/**
* Process the form after the input has been submitted and validated.
- *
- *
- * @return void
*/
public function postProcess() {
CRM_Contact_Form_Task_SMSCommon::postProcess($this);
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
- * This class provides the common functionality for sending sms to
- * one or a group of contact ids.
+ * This class provides the common functionality for sending sms to one or a group of contact ids.
*/
class CRM_Contact_Form_Task_SMSCommon {
const RECIEVED_SMS_ACTIVITY_SUBJECT = "SMS Received";
/**
+ * Pre process the provider.
+ *
* @param CRM_Core_Form $form
*/
public static function preProcessProvider(&$form) {
/**
* Build the form object.
*
- *
* @param CRM_Core_Form $form
- *
- * @return void
*/
public static function buildQuickForm(&$form) {
/**
* Process the form after the input has been submitted and validated.
*
- *
* @param CRM_Core_Form $form
- *
- * @return void
*/
public static function postProcess(&$form) {