comment fixes
[civicrm-core.git] / CRM / Contact / Page / SavedSearch.php
index ca861385a5f549027ea9da1033a5c2c2535e3002..54091dcf8666512b635dd9f23065593abad5bcb5 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
  */
 
 /**
  * Main page for viewing all Saved searches.
- *
  */
 class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
 
   /**
-   * 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
    */
   static $_links = NULL;
 
@@ -52,8 +48,6 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
    *
    * @param int $id
    *   Id of saved search.
-   *
-   * @return void
    */
   public function delete($id) {
     // first delete the group associated with this saved search
@@ -67,13 +61,13 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
     $savedSearch->id = $id;
     $savedSearch->is_active = 0;
     $savedSearch->save();
-    return;
   }
 
   /**
    * Browse all saved searches.
    *
-   * @return content of the parents run method
+   * @return mixed
+   *   content of the parents run method
    */
   public function browse() {
     $rows = array();
@@ -125,8 +119,6 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
 
   /**
    * Run this page (figure out the action needed and perform it).
-   *
-   * @return void
    */
   public function run() {
     $action = CRM_Utils_Request::retrieve('action', 'String',
@@ -145,11 +137,10 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
-   * @static
    */
   public static function &links() {
 
@@ -174,4 +165,5 @@ class CRM_Contact_Page_SavedSearch extends CRM_Core_Page {
     }
     return self::$_links;
   }
+
 }