<?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;
*
* @param int $id
* Id of saved search.
- *
- * @return void
*/
public function delete($id) {
// first delete the group associated with this saved search
$savedSearch->id = $id;
$savedSearch->is_active = 0;
$savedSearch->save();
- return;
}
/**
/**
* Run this page (figure out the action needed and perform it).
- *
- * @return void
*/
public function run() {
$action = CRM_Utils_Request::retrieve('action', 'String',
}
/**
- * Get action Links
+ * Get action Links.
*
* @return array
* (reference) of action links
- * @static
*/
public static function &links() {
}
return self::$_links;
}
+
}