*/
/**
- * Class for activity task actions.
+ * Class for activity form task actions.
+ * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions.
*/
-class CRM_Activity_Form_Task extends CRM_Core_Form {
-
- /**
- * The task being performed.
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The additional clause that we restrict the search with.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The array that holds all the component ids.
- *
- * @var array
- */
- protected $_componentIds;
-
- /**
- * The array that holds all the contact ids.
- *
- * @var array
- */
- public $_contactIds;
+class CRM_Activity_Form_Task extends CRM_Core_Form_Task {
/**
* The array that holds all the member ids.
/**
* This class generates form components for relationship.
*/
-class CRM_Campaign_Form_Task extends CRM_Core_Form {
-
- /**
- * The additional clause that we restrict the search.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The task being performed
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The array that holds all the contact ids
- *
- * @var array
- */
- public $_contactIds;
-
- /**
- * The array that holds all the component ids
- *
- * @var array
- */
- protected $_componentIds;
+class CRM_Campaign_Form_Task extends CRM_Core_Form_Task {
/**
* The array that holds all the voter ids
/**
* This class generates form components for search-result tasks.
*/
-class CRM_Contact_Form_Task extends CRM_Core_Form {
+class CRM_Contact_Form_Task extends CRM_Core_Form_Task {
/**
* The task being performed
*/
/**
- * This class generates form components for relationship.
+ * Class for contribute form task actions.
+ * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions.
*/
-class CRM_Contribute_Form_Task extends CRM_Core_Form {
-
- /**
- * The task being performed.
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The additional clause that we restrict the search with.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The array that holds all the component ids.
- *
- * @var array
- */
- protected $_componentIds;
+class CRM_Contribute_Form_Task extends CRM_Core_Form_Task {
/**
* The array that holds all the contribution ids.
*/
protected $_contributionIds;
- /**
- * The array that holds all the contact ids.
- *
- * @var array
- */
- public $_contactIds;
-
/**
* The array that holds all the mapping contribution and contact ids.
*
*/
/**
- * This class generates task actions for CiviEvent
- *
+ * Class for event form task actions.
+ * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions.
*/
-class CRM_Event_Form_Task extends CRM_Core_Form {
-
- /**
- * The task being performed.
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The additional clause that we restrict the search with.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The array that holds all the component ids.
- *
- * @var array
- */
- protected $_componentIds;
+class CRM_Event_Form_Task extends CRM_Core_Form_Task {
/**
* The array that holds all the participant ids.
/**
* This class gets the name of the file to upload
*/
-class CRM_Export_Form_Select extends CRM_Core_Form {
+class CRM_Export_Form_Select extends CRM_Core_Form_Task {
/**
* Various Contact types.
public $_componentTable;
- /**
- * Must be set to entity table name (eg. civicrm_participant) by child class
- *
- * @var string
- */
- static $tableName = NULL;
-
- /**
- * Must be set to entity shortname (eg. event)
- *
- * @var string
- */
- static $entityShortname = NULL;
-
/**
* Build all the data structures needed to build the form.
*
*/
/**
- * This class generates task actions for CiviEvent
- *
+ * Class for grant form task actions.
+ * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions.
*/
-class CRM_Grant_Form_Task extends CRM_Core_Form {
-
- /**
- * The task being performed.
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The additional clause that we restrict the search with.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The array that holds all the component ids.
- *
- * @var array
- */
- protected $_componentIds;
+class CRM_Grant_Form_Task extends CRM_Core_Form_Task {
/**
* The array that holds all the grant ids.
*/
/**
- * This class generates form components for relationship
+ * Class for mailing form task actions.
+ * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions.
*/
-class CRM_Mailing_Form_Task extends CRM_Core_Form {
-
- /**
- * The task being performed.
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The additional clause that we restrict the search with.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The array that holds all the component ids.
- *
- * @var array
- */
- protected $_componentIds;
+class CRM_Mailing_Form_Task extends CRM_Core_Form_Task {
/**
* Build all the data structures needed to build the form.
*/
/**
- * Class for civimember task actions
- *
+ * Class for member form task actions.
+ * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions.
*/
-class CRM_Member_Form_Task extends CRM_Core_Form {
-
- /**
- * The task being performed.
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The additional clause that we restrict the search with.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The array that holds all the component ids.
- *
- * @var array
- */
- protected $_componentIds;
-
- /**
- * The array that holds all the contact ids.
- *
- * @var array
- */
- public $_contactIds;
+class CRM_Member_Form_Task extends CRM_Core_Form_Task {
/**
* The array that holds all the member ids.
*/
/**
- * This class generates task actions for CiviEvent.
+ * Class for pledge form task actions.
+ * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions.
*/
-class CRM_Pledge_Form_Task extends CRM_Core_Form {
-
- /**
- * The task being performed.
- *
- * @var int
- */
- protected $_task;
-
- /**
- * The additional clause that we restrict the search with.
- *
- * @var string
- */
- protected $_componentClause = NULL;
-
- /**
- * The array that holds all the component ids.
- *
- * @var array
- */
- protected $_componentIds;
+class CRM_Pledge_Form_Task extends CRM_Core_Form_Task {
/**
* The array that holds all the pledge ids.