<?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 |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
*/
class CRM_Admin_Page_APIExplorer extends CRM_Core_Page {
- function run() {
+ /**
+ * @return string
+ */
+ public function run() {
CRM_Utils_System::setTitle(ts('API explorer and generator'));
CRM_Core_Resources::singleton()
->addScriptFile('civicrm', 'templates/CRM/Admin/Page/APIExplorer.js')
/**
* Get user context.
*
- * @return string user context.
+ * @return string
+ * user context.
*/
- function userContext() {
+ public function userContext() {
return 'civicrm/api/explorer';
}
-}
+}