Merge pull request #4962 from totten/master-angular-ts
[civicrm-core.git] / CRM / Core / ShowHideBlocks.php
index 887ea1b8e36528c5e3a7d9b74c7008de88ab53bf..96707ae28e68f672a70168df504232c53e9db32b 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        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -64,7 +64,6 @@ class CRM_Core_ShowHideBlocks {
    *   Initial value of hide array.
    *
    * @return \CRM_Core_ShowHideBlocks the newly created object
-   * @access public
    */
   public function __construct($show = NULL, $hide = NULL) {
     if (!empty($show)) {
@@ -86,7 +85,6 @@ class CRM_Core_ShowHideBlocks {
    * Load icon vars used in hide and show links
    *
    * @return void
-   * @static
    */
   public static function setIcons() {
     if (!isset(self::$_showIcon)) {
@@ -187,7 +185,6 @@ class CRM_Core_ShowHideBlocks {
    *
    * @param bool $assign
    *
-   * @static
    *
    * @return void
    */
@@ -196,7 +193,7 @@ class CRM_Core_ShowHideBlocks {
     $hideCode = "cj('#id_{$prefix}').hide(); cj('#id_{$prefix}_show').show(); return false;";
 
     self::setIcons();
-    $values         = array();
+    $values = array();
     $values['show'] = self::linkHtml("${prefix}_show", "#${prefix}_hide", self::$_showIcon . $showLinkText, "onclick=\"$showCode\"");
     $values['hide'] = self::linkHtml("${prefix}_hide", "#${prefix}", self::$_hideIcon . $hideLinkText, "onclick=\"$hideCode\"");
 
@@ -271,4 +268,5 @@ class CRM_Core_ShowHideBlocks {
       );
     }
   }
+
 }