add a few comment blocks
[civicrm-core.git] / CRM / Contact / Form / Search / Custom / FullText / Membership.php
index 341df71ea4991b201f2db69558a8d34bdb18792d..250aeb044afada26bcf33cb4992c41a2649541b3 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  */
 class CRM_Contact_Form_Search_Custom_FullText_Membership extends CRM_Contact_Form_Search_Custom_FullText_AbstractPartialQuery {
 
+  /**
+   * Class constructor.
+   */
   public function __construct() {
     parent::__construct('Membership', ts('Memberships'));
   }
 
+  /**
+   * @return bool
+   */
   public function isActive() {
     $config = CRM_Core_Config::singleton();
     return in_array('CiviMember', $config->enableComponents) &&
-      CRM_Core_Permission::check('access CiviMember');
+    CRM_Core_Permission::check('access CiviMember');
   }
 
   /**
-   * {@inheritdoc}
+   * @inheritDoc
    */
   public function fillTempTable($queryText, $entityIDTableName, $toTable, $queryLimit, $detailLimit) {
     $queries = $this->prepareQueries($queryText, $entityIDTableName);