INFRA-132 Function comment short description must end with a full stop
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 3 Feb 2015 22:22:47 +0000 (11:22 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 3 Feb 2015 22:22:47 +0000 (11:22 +1300)
regex (\*\*\n   \* [A-Za-z ]*)\n replace with .\n

17 files changed:
CRM/ACL/API.php
CRM/ACL/BAO/ACL.php
CRM/ACL/BAO/EntityRole.php
CRM/ACL/Form/ACL.php
CRM/ACL/Form/ACLBasic.php
CRM/ACL/Form/EntityRole.php
CRM/ACL/Form/WordPress/Permissions.php
CRM/ACL/Page/ACL.php
CRM/ACL/Page/ACLBasic.php
CRM/ACL/Page/EntityRole.php
CRM/Case/BAO/Case.php
CRM/Case/BAO/CaseType.php
CRM/Case/Form/Activity.php
CRM/Case/Form/Activity/ChangeCaseStartDate.php
CRM/Case/Form/Activity/ChangeCaseStatus.php
CRM/Case/Form/Activity/ChangeCaseType.php
CRM/Core/BAO/CustomQuery.php

index 5bf1787529a22bedd0e35e4e51934a5106f620cc..9a2d11a244f87405214e462b96899891e8c7da57 100644 (file)
@@ -35,7 +35,7 @@
 class CRM_ACL_API {
 
   /**
-   * The various type of permissions
+   * The various type of permissions.
    *
    * @var int
    */
@@ -72,7 +72,7 @@ class CRM_ACL_API {
   }
 
   /**
-   * Get the permissioned where clause for the user
+   * Get the permissioned where clause for the user.
    *
    * @param int $type
    *   The type of permission needed.
@@ -143,7 +143,7 @@ class CRM_ACL_API {
   }
 
   /**
-   * Get all the groups the user has access to for the given operation
+   * Get all the groups the user has access to for the given operation.
    *
    * @param int $type
    *   The type of permission needed.
index 9e5e2fb9cc44af1d05fad54385a8f14b0283047b..2aacb1886cdc4c9013c7a43d8ee12cbee99e6876 100644 (file)
@@ -446,7 +446,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
   }
 
   /**
-   * Get all of the ACLs through ACL groups
+   * Get all of the ACLs through ACL groups.
    *
    * @param int $contact_id
    *   ID of a contact to search for.
@@ -512,7 +512,7 @@ class CRM_ACL_BAO_ACL extends CRM_ACL_DAO_ACL {
   }
 
   /**
-   * Get all ACLs granted to a contact through all group memberships
+   * Get all ACLs granted to a contact through all group memberships.
    *
    * @param int $contact_id
    *   The contact's ID.
@@ -557,7 +557,7 @@ SELECT      $acl.*
   }
 
   /**
-   * Get all of the ACLs for a contact through ACL groups owned by Contact
+   * Get all of the ACLs for a contact through ACL groups owned by Contact.
    * groups.
    *
    * @param int $contact_id
@@ -963,7 +963,7 @@ ORDER BY a.object_id
   }
 
   /**
-   * Delete ACL records
+   * Delete ACL records.
    *
    * @param int $aclId
    *   ID of the ACL record to be deleted.
index 13935e81ef6bf2e8db0c6f71824bafb180cb5928..0cc6e08d1e34f7f0e235f2e1e86c6fa2a8010a85 100644 (file)
@@ -88,7 +88,7 @@ class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
   }
 
   /**
-   * Delete Entity Role records
+   * Delete Entity Role records.
    *
    * @param int $entityRoleId
    *   ID of the EntityRole record to be deleted.
index d904767aa5b0e0b9ad4b5ab66598bacc2e3b8597..0baa5b7ceffbebd317823405f30d4a6484b07598 100644 (file)
@@ -112,7 +112,7 @@ class CRM_ACL_Form_ACL extends CRM_Admin_Form {
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -265,7 +265,7 @@ class CRM_ACL_Form_ACL extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index f916fc3aa7d4efe4d89b01b49b85a7a1c18aa806..25e8fd71e21feb12fad75db9b1485fe272c807a4 100644 (file)
@@ -74,7 +74,7 @@ SELECT object_table
   }
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -123,7 +123,7 @@ SELECT object_table
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index a7159cfb04a66a5ab99d4e1744bb449ba0648fb2..2d538a1a065b708bfa658813e15c2e9d24e60c12 100644 (file)
@@ -43,7 +43,7 @@
 class CRM_ACL_Form_EntityRole extends CRM_Admin_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -69,7 +69,7 @@ class CRM_ACL_Form_EntityRole extends CRM_Admin_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @return void
index d9937254aa7131ecbda7320e698748da3488230f..1523533f44c2cb6acc655405ec113ecfc5110ebb 100644 (file)
@@ -39,7 +39,7 @@
 class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -98,7 +98,7 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    * @return void
    */
index 69070d0d3e7a848fb887caff5715f8e94734afd2..df24276f58ef12d302ee9d74e286f2ebeb599631 100644 (file)
@@ -45,14 +45,14 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -62,7 +62,7 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -153,7 +153,7 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all acls
+   * Browse all acls.
    *
    * @return void
    */
@@ -254,7 +254,7 @@ ORDER BY entity_id
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -264,7 +264,7 @@ ORDER BY entity_id
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index aef3c1a849bd6592035e6c2d2212cb36fb8cb714..1254298475e8b4b29433c8b160df8b03cb8f345f 100644 (file)
 class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -60,7 +60,7 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -129,7 +129,7 @@ class CRM_ACL_Page_ACLBasic extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all acls
+   * Browse all acls.
    *
    * @return void
    */
@@ -188,7 +188,7 @@ ORDER BY entity_id
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -198,7 +198,7 @@ ORDER BY entity_id
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 4712453a67221fbc2bcf7b0e87f966a319e3ecb9..ebd90fe36180f6026c726eb47170bf2c18569da2 100644 (file)
@@ -45,14 +45,14 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
    */
   static $_links = NULL;
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -62,7 +62,7 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -150,7 +150,7 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all acls
+   * Browse all acls.
    *
    * @return void
    */
@@ -195,7 +195,7 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -205,7 +205,7 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
index 6c6601bbd9ad82a93ce819928b5ec920559327e3..c15991849c9007850944c0f2de46f6d225ee5c67 100644 (file)
@@ -325,7 +325,7 @@ WHERE civicrm_case.id = %1";
   }
 
   /**
-   * Delete the record that are associated with this case
+   * Delete the record that are associated with this case.
    * record are deleted from case
    *
    * @param int $caseId
@@ -468,7 +468,7 @@ WHERE civicrm_case.id = %1";
   }
 
   /**
-   * Retrieve contact names by caseId
+   * Retrieve contact names by caseId.
    *
    * @param int $caseId
    *   ID of the case.
@@ -959,7 +959,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Get Case roles
+   * Get Case roles.
    *
    * @param int $contactID
    *   Contact id.
@@ -1017,7 +1017,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Get Case Activities
+   * Get Case Activities.
    *
    * @param int $caseID
    *   Case id.
@@ -1363,7 +1363,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Get Case Related Contacts
+   * Get Case Related Contacts.
    *
    * @param int $caseID
    *   Case id.
@@ -1586,7 +1586,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Create an activity for a case via email
+   * Create an activity for a case via email.
    *
    * @param int $file
    *   Email sent.
@@ -1676,7 +1676,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Retrieve the scheduled activity type and date
+   * Retrieve the scheduled activity type and date.
    *
    * @param array $cases
    *   Array of contact and case id.
@@ -1720,7 +1720,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Combine all the exportable fields from the lower levels object
+   * Combine all the exportable fields from the lower levels object.
    *
    * @return array
    *   array of exportable Fields
@@ -1748,7 +1748,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Restore the record that are associated with this case
+   * Restore the record that are associated with this case.
    *
    * @param int $caseId
    *   Id of the case to restore.
@@ -1818,7 +1818,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
   }
 
   /**
-   * Convenience function to get both case contacts and global in one array
+   * Convenience function to get both case contacts and global in one array.
    * @param int $caseId
    *
    * @return array
@@ -3068,7 +3068,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Verify user has permission to access a case
+   * Verify user has permission to access a case.
    *
    * @param int $caseId
    * @param bool $denyClosed
@@ -3117,7 +3117,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Check whether activity is a case Activity
+   * Check whether activity is a case Activity.
    *
    * @param int $activityID
    *   Activity id.
@@ -3138,7 +3138,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Get all the case type ids currently in use
+   * Get all the case type ids currently in use.
    *
    * @return array
    */
@@ -3162,7 +3162,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Get all the case status ids currently in use
+   * Get all the case status ids currently in use.
    *
    * @return array
    */
@@ -3183,7 +3183,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Get all the encounter medium ids currently in use
+   * Get all the encounter medium ids currently in use.
    *
    * @return array
    */
@@ -3254,7 +3254,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Used during case component enablement and during ugprade
+   * Used during case component enablement and during ugprade.
    *
    * @return bool
    */
@@ -3365,7 +3365,7 @@ WHERE id IN (' . implode(',', $copiedActivityIds) . ')';
   }
 
   /**
-   * Get the list of clients for a case
+   * Get the list of clients for a case.
    *
    * @param int $caseId
    *
index f8f601f36b36d0561c0b9925f9205525d626b165..e6c9e675376128fb927cafe187269bed8626e7f2 100644 (file)
 class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
 
   /**
-   * Static field for all the case information that we can potentially export
+   * Static field for all the case information that we can potentially export.
    *
    * @var array
    */
   static $_exportableFields = NULL;
 
   /**
-   * Takes an associative array and creates a Case Type object
+   * Takes an associative array and creates a Case Type object.
    *
    * the function extract all the params it needs to initialize the create a
    * case type object. the params array could contain additional unused name/value
@@ -188,7 +188,7 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
   }
 
   /**
-   * Get the case definition either from db or read from xml file
+   * Get the case definition either from db or read from xml file.
    *
    * @param SimpleXmlElement $xml
    *   A single case-type record.
@@ -272,7 +272,7 @@ class CRM_Case_BAO_CaseType extends CRM_Case_DAO_CaseType {
   }
 
   /**
-   * Takes an associative array and creates a case type object
+   * Takes an associative array and creates a case type object.
    *
    * @param array $params
    *   (reference ) an assoc array of name/value pairs.
index 57cce896cf35b254d50de476150c07d59c96a28c..ff5808732eecf9fd4a5285793ff3957934bbf386 100644 (file)
 class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity {
 
   /**
-   * The default variable defined
+   * The default variable defined.
    *
    * @var int
    */
   public $_caseId;
 
   /**
-   * The default case type variable defined
+   * The default case type variable defined.
    *
    * @var int
    */
   public $_caseType;
 
   /**
-   * The default values of an activity
+   * The default values of an activity.
    *
    * @var array
    */
   public $_defaults = array();
 
   /**
-   * The array of releted contact info
+   * The array of releted contact info.
    *
    * @var array
    */
   public $_relatedContacts;
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -351,7 +351,7 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity {
   }
 
   /**
-   * Global form rule
+   * Global form rule.
    *
    * @param array $fields
    *   The input form values.
@@ -372,7 +372,7 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param array $params
index 5576aaf8ebc85282564c620384f274145b1c3229..8ae0f8f647d2a1abfc28d8469fa8b28bbcbf184b 100644 (file)
@@ -101,7 +101,7 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -117,7 +117,7 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
@@ -132,7 +132,7 @@ class CRM_Case_Form_Activity_ChangeCaseStartDate {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
index d8db4c83337d93741087a05b455ad9217cab41b8..ff619610ded44ae930d91a234f33cafa8f5e4175 100644 (file)
@@ -101,7 +101,7 @@ class CRM_Case_Form_Activity_ChangeCaseStatus {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -117,7 +117,7 @@ class CRM_Case_Form_Activity_ChangeCaseStatus {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
@@ -130,7 +130,7 @@ class CRM_Case_Form_Activity_ChangeCaseStatus {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
index b1f628921259eb31e4de32d53908b0463bf68e29..387efed81f483320a7cae131b12f835ceb73b5bf 100644 (file)
@@ -98,7 +98,7 @@ class CRM_Case_Form_Activity_ChangeCaseType {
   }
 
   /**
-   * Global validation rules for the form
+   * Global validation rules for the form.
    *
    * @param array $values
    *   Posted values of the form.
@@ -114,7 +114,7 @@ class CRM_Case_Form_Activity_ChangeCaseType {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
@@ -137,7 +137,7 @@ class CRM_Case_Form_Activity_ChangeCaseType {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    *
    * @param CRM_Core_Form $form
index 0e549c1d67e5608318b843bbbdb2ed184f4a6caa..5253f9631268d3a6cb64194e548e007bf44ca2f5 100644 (file)
@@ -37,21 +37,21 @@ class CRM_Core_BAO_CustomQuery {
   const PREFIX = 'custom_value_';
 
   /**
-   * The set of custom field ids
+   * The set of custom field ids.
    *
    * @var array
    */
   protected $_ids;
 
   /**
-   * The select clause
+   * The select clause.
    *
    * @var array
    */
   public $_select;
 
   /**
-   * The name of the elements that are in the select clause
+   * The name of the elements that are in the select clause.
    * used to extract the values
    *
    * @var array
@@ -59,7 +59,7 @@ class CRM_Core_BAO_CustomQuery {
   public $_element;
 
   /**
-   * The tables involved in the query
+   * The tables involved in the query.
    *
    * @var array
    */
@@ -67,28 +67,28 @@ class CRM_Core_BAO_CustomQuery {
   public $_whereTables;
 
   /**
-   * The where clause
+   * The where clause.
    *
    * @var array
    */
   public $_where;
 
   /**
-   * The english language version of the query
+   * The english language version of the query.
    *
    * @var array
    */
   public $_qill;
 
   /**
-   * The cache to translate the option values into labels
+   * The cache to translate the option values into labels.
    *
    * @var array
    */
   public $_options;
 
   /**
-   * The custom fields information
+   * The custom fields information.
    *
    * @var array
    */
@@ -104,7 +104,7 @@ class CRM_Core_BAO_CustomQuery {
   protected $_locationSpecificCustomFields;
 
   /**
-   * This stores custom data group types and tables that it extends
+   * This stores custom data group types and tables that it extends.
    *
    * @var array
    */
@@ -129,7 +129,7 @@ class CRM_Core_BAO_CustomQuery {
   );
 
   /**
-   * Class constructor
+   * Class constructor.
    *
    * Takes in a set of custom field ids andsets up the data structures to
    * generate a query
@@ -253,7 +253,7 @@ SELECT label, value
   }
 
   /**
-   * Generate the select clause and the associated tables
+   * Generate the select clause and the associated tables.
    * for the from clause
    *
    * @return void
@@ -318,7 +318,7 @@ SELECT label, value
   }
 
   /**
-   * Generate the where clause and also the english language
+   * Generate the where clause and also the english language.
    * equivalent
    *
    * @return void
@@ -548,7 +548,7 @@ SELECT label, value
   }
 
   /**
-   * Function that does the actual query generation
+   * Function that does the actual query generation.
    * basically ties all the above functions together
    *
    * @return array