<?php
-
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* This file hard-codes the path entries for the queueing UI, which
*/
require_once 'CRM/Core/I18n.php';
+
+/**
+ * Class CRM_Queue_Menu
+ */
class CRM_Queue_Menu {
- static function alter($path, &$menuPath) {
+ /**
+ * @param string $path
+ * The path for which we are trying to locate the route.
+ * @param array $menuPath
+ * The route.
+ */
+ public static function alter($path, &$menuPath) {
switch ($path) {
case 'civicrm/queue/runner':
case 'civicrm/upgrade/queue/runner':
// unrecognized
}
}
-}
+}