Commit 5b720789 authored by eileen's avatar eileen 🎱

Merge pull request #5080 from eileenmcnaughton/comment-full-stops

Comment full stops
parents 0f9476b9 fe482240
......@@ -671,7 +671,7 @@ SELECT $acl.*
}
/**
* Update the is_active flag in the db
* Update the is_active flag in the db.
*
* @param int $id
* Id of the database record.
......
......@@ -73,7 +73,7 @@ class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
}
/**
* Update the is_active flag in the db
* Update the is_active flag in the db.
*
* @param int $id
* Id of the database record.
......
......@@ -38,14 +38,14 @@
class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
/**
* Static field for all the activity information that we can potentially export
* Static field for all the activity information that we can potentially export.
*
* @var array
*/
static $_exportableFields = NULL;
/**
* Static field for all the activity information that we can potentially import
* Static field for all the activity information that we can potentially import.
*
* @var array
*/
......
......@@ -40,7 +40,7 @@
class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityContact {
/**
* Class constructor
* Class constructor.
*/
public function __construct() {
parent::__construct();
......@@ -67,7 +67,7 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta
}
/**
* Retrieve assignee_id by activity_id
* Retrieve assignee_id by activity_id.
*
* @param int $activity_id
*
......@@ -99,7 +99,7 @@ AND civicrm_contact.is_deleted = 0
}
/**
* Retrieve assignee names by activity_id
* Retrieve assignee names by activity_id.
*
* @param array $activityIDs
* IDs of the activities.
......
......@@ -40,7 +40,7 @@
class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact {
/**
* Class constructor
* Class constructor.
*/
public function __construct() {
parent::__construct();
......@@ -66,7 +66,7 @@ class CRM_Activity_BAO_ActivityContact extends CRM_Activity_DAO_ActivityContact
}
/**
* Retrieve names of contact by activity_id
* Retrieve names of contact by activity_id.
*
* @param int $activityID
* @param int $recordTypeID
......@@ -105,7 +105,7 @@ AND contact_a.is_deleted = 0
}
/**
* Retrieve id of target contact by activity_id
* Retrieve id of target contact by activity_id.
*
* @param int $activityID
* @param int $recordTypeID
......
......@@ -40,14 +40,14 @@
class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
/**
* Class constructor
* Class constructor.
*/
public function __construct() {
parent::__construct();
}
/**
* Add activity target
* Add activity target.
*
* @param array $params
*
......@@ -65,7 +65,7 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
}
/**
* Retrieve id of target contact by activity_id
* Retrieve id of target contact by activity_id.
*
* @param int $activity_id
*
......@@ -96,7 +96,7 @@ AND civicrm_contact.is_deleted = 0
}
/**
* Retrieve names of target contact by activity_id
* Retrieve names of target contact by activity_id.
*
* @param int $activityID
*
......
......@@ -45,7 +45,7 @@ class CRM_Activity_BAO_ICalendar {
protected $activity;
/**
* Constructor
* Constructor.
*
* @param object $act
* Reference to an activity object.
......@@ -57,7 +57,7 @@ class CRM_Activity_BAO_ICalendar {
}
/**
* Add an ics attachment to the input array
* Add an ics attachment to the input array.
*
* @param array $attachments
* Reference to array in same format returned from CRM_Core_BAO_File::getEntityFile().
......@@ -105,7 +105,7 @@ class CRM_Activity_BAO_ICalendar {
}
/**
* Remove temp file
* Remove temp file.
*/
public function cleanup() {
if (!empty ($this->icsfile)) {
......
......@@ -156,7 +156,7 @@ class CRM_Activity_BAO_Query {
}
/**
* Given a list of conditions in query generate the required
* Given a list of conditions in query generate the required.
* where clause
*
* @param $query
......@@ -176,7 +176,7 @@ class CRM_Activity_BAO_Query {
}
/**
* Where clause for a single field
* Where clause for a single field.
*
* @param $values
* @param $query
......@@ -402,7 +402,7 @@ class CRM_Activity_BAO_Query {
}
/**
* Getter for the qill object
* Getter for the qill object.
*
* @return string
*/
......@@ -411,7 +411,7 @@ class CRM_Activity_BAO_Query {
}
/**
* Add all the elements shared between case activity search and advanced search
* Add all the elements shared between case activity search and advanced search.
*
*
* @param CRM_Core_Form $form
......
......@@ -29,7 +29,6 @@
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
/**
......@@ -40,13 +39,14 @@
*
* 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
* The second form is used to process search results with the associated actions
*
*/
class CRM_Activity_Controller_Search extends CRM_Core_Controller {
/**
* Class constructor
* Class constructor.
*
* @param null $title
* @param bool $modal
* @param int|mixed|null $action
......@@ -57,14 +57,16 @@ class CRM_Activity_Controller_Search extends CRM_Core_Controller {
$this->_stateMachine = new CRM_Activity_StateMachine_Search($this, $action);
// create and instantiate the pages
// Create and instantiate the pages.
$this->addPages($this->_stateMachine, $action);
// add all the actions
// Add all the actions.
$this->addActions();
}
/**
* Getter for selectorName.
*
* @return mixed
*/
public function selectorName() {
......
......@@ -47,35 +47,35 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
public $_activityId;
/**
* Store activity ids when multiple activities are created
* Store activity ids when multiple activities are created.
*
* @var int
*/
public $_activityIds = array();
/**
* The id of activity type
* The id of activity type.
*
* @var int
*/
public $_activityTypeId;
/**
* The name of activity type
* The name of activity type.
*
* @var string
*/
public $_activityTypeName;
/**
* The id of currently viewed contact
* The id of currently viewed contact.
*
* @var int
*/
public $_currentlyViewedContactId;
/**
* The id of source contact and target contact
* The id of source contact and target contact.
*
* @var int
*/
......@@ -98,7 +98,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
public $_currentUserId;
/**
* The array of form field attributes
* The array of form field attributes.
*
* @var array
*/
......@@ -112,7 +112,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
protected $_crmDir = 'Activity';
/**
* Survey activity
* Survey activity.
*
* @var boolean
*/
......@@ -214,7 +214,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
}
/**
* Build the form object
* Build the form object.
*
* @return void
*/
......@@ -819,7 +819,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
}
/**
* Global form rule
* Global form rule.
*
* @param array $fields
* The input form values.
......@@ -867,7 +867,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
}
/**
* Process the form submission
* Process the form submission.
*
*
* @param array $params
......@@ -1005,7 +1005,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
}
/**
* Process activity creation
* Process activity creation.
*
* @param array $params
* Associated array of submitted values.
......@@ -1174,7 +1174,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
}
/**
* Let injecting activity type file do any processing
* Let injecting activity type file do any processing.
* needed, before the activity is added/updated
*
* @param array $params
......
......@@ -40,7 +40,7 @@
class CRM_Activity_Form_ActivityView extends CRM_Core_Form {
/**
* Set variables up before form is built
* Set variables up before form is built.
*
* @return void
*/
......@@ -116,7 +116,7 @@ class CRM_Activity_Form_ActivityView extends CRM_Core_Form {
}
/**
* Build the form object
* Build the form object.
*
* @return void
*/
......
......@@ -42,42 +42,42 @@
class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
/**
* The params that are sent to the query
* The params that are sent to the query.
*
* @var array
*/
protected $_queryParams;