Merge pull request #5145 from agh1/case-insensitive-headers
[civicrm-core.git] / CRM / Core / BAO / Extension.php
index d2f7f991b0b840fff1a5535040a9fa6442b68b77..936efbea8f3358dec75b586445509eca133abf90 100644 (file)
@@ -24,7 +24,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
 class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
 
   /**
-   * Fetch object based on array of properties
+   * Fetch object based on array of properties.
    *
-   * @param array $params   (reference ) an assoc array of name/value pairs
-   * @param array $defaults (reference ) an assoc array to hold the flattened values
+   * @param array $params
+   *   (reference ) an assoc array of name/value pairs.
+   * @param array $defaults
+   *   (reference ) an assoc array to hold the flattened values.
    *
-   * @return CRM_Core_BAO_LocationType object on success, null otherwise
-   * @static
+   * @return CRM_Core_BAO_LocationType|null
+   *   object on success, null otherwise
    */
   public static function retrieve(&$params, &$defaults) {
     $extension = new CRM_Core_DAO_Extension();
@@ -59,13 +61,13 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
   }
 
   /**
-   * Delete an extension
+   * Delete an extension.
    *
-   * @param  int  $id     Id of the extension to be deleted.
+   * @param int $id
+   *   Id of the extension to be deleted.
    *
    * @return void
    *
-   * @static
    */
   public static function del($id) {
     $extension = new CRM_Core_DAO_Extension();
@@ -74,10 +76,11 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
   }
 
   /**
-   * Change the schema version of an extension
+   * Change the schema version of an extension.
    *
-   * @param $fullName string, the fully-qualified name (eg "com.example.myextension")
-   * @param $schemaVersion string
+   * @param string $fullName
+   *   the fully-qualified name (eg "com.example.myextension").
+   * @param string $schemaVersion
    * @return void
    */
   public static function setSchemaVersion($fullName, $schemaVersion) {
@@ -90,9 +93,10 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
   }
 
   /**
-   * Determine the schema version of an extension
+   * Determine the schema version of an extension.
    *
-   * @param $fullName string, the fully-qualified name (eg "com.example.myextension")
+   * @param string $fullName
+   *   the fully-qualified name (eg "com.example.myextension").
    * @return string
    */
   public static function getSchemaVersion($fullName) {