*/
/**
- * This class is for activity functions
- *
+ * This class is for activity functions.s
*/
class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
}
/**
- * Restore the activity
+ * Restore the activity.
*
* @param array $params
*
- * @return void
+ * @return CRM_Activity_DAO_Activity
*/
public static function restoreActivity(&$params) {
$activity = new CRM_Activity_DAO_Activity();
/**
* Set default values for the form.
- * default values are retrieved from the database
*
- *
- * @return void
+ * Default values are retrieved from the database.
*/
public function setDefaultValues() {
if (!$this->_defaults) {
}
/**
- * Process the form submission
- *
- *
- * @return void
+ * Process the form submission.
*/
public function postProcess() {
// store the submitted values in an array
class CRM_Contact_Form_Edit_Phone {
/**
- * Build the form object elements for a phone object
+ * Build the form object elements for a phone object.
*
* @param CRM_Core_Form $form
* Reference to the form object.
* Block number to build.
* @param bool $blockEdit
* Is it block edit.
- *
- * @return void
*/
public static function buildQuickForm(&$form, $addressBlockCount = NULL, $blockEdit = FALSE) {
// passing this via the session is AWFUL. we need to fix this
}
/**
- * Build the form object
- *
- * @return void
+ * Build the form object.
*/
public function buildQuickForm() {
$params = array();
/**
* This class generates form components for search-result tasks
- *
*/
class CRM_Contact_Form_Task extends CRM_Core_Form {
/**
- * Set default values for the form. Relationship that in edit/view action
- * the default values are retrieved from the database
+ * Set default values for the form. Relationship that in edit/view action.
*
+ * The default values are retrieved from the database.
*
* @return array
*/
}
/**
- * Process the form after the input has been submitted and validated
+ * Process the form after the input has been submitted and validated.
*/
public function postProcess() {
}
* This class is used to retrieve and display a range of
* contacts that match the given criteria (specifically for
* results of advanced search options.
- *
*/
class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
/**
* Returns total number of rows for the query.
*
- * @param
+ * @param null $action
*
* @return int
* Total number of rows
* Typically the first form will display the search criteria and it's results
*
* The second form is used to process search results with the asscociated actions
- *
*/
class CRM_Contribute_Controller_ContributionPage extends CRM_Core_Controller {
/**
- * Class constructor
+ * Class constructor.
+ *
+ * @param string $title
+ * @param bool|int $action
+ * @param bool $modal
*/
public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
parent::__construct($title, $modal);
-
-
$this->_stateMachine = new CRM_Contribute_StateMachine_ContributionPage($this, $action);
-
- // create and instantiate the pages
+ // Create and instantiate the pages.
$this->addPages($this->_stateMachine, $action);
-
- // add all the actions
$this->addActions();
}
}
class CRM_Core_Controller_Simple extends CRM_Core_Controller {
/**
- * Constructor
+ * Constructor.
*
* @param null $path
* @param bool $title
}
/**
- * Process the form submission
- *
- *
- * @return void
+ * Process the form submission.
*/
public function postProcess() {