| Server IP : 195.130.67.5 / Your IP : 216.73.217.127 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/engineering/wp-content/plugins/nextgen-gallery/src/REST/ |
Upload File : |
<?php
/**
* REST API Manager
*
* @package NextGEN Gallery
* @subpackage REST API
*/
namespace Imagely\NGG\REST;
use Imagely\NGG\REST\Admin\AttachToPost;
use Imagely\NGG\REST\Admin\Block;
use Imagely\NGG\REST\Admin\RolesCapabilities;
use Imagely\NGG\REST\DataMappers\AlbumREST;
use Imagely\NGG\REST\DataMappers\DisplayTypeREST;
use Imagely\NGG\REST\DataMappers\SettingsREST;
use Imagely\NGG\REST\DataMappers\GalleryREST;
use Imagely\NGG\REST\DataMappers\ImageREST;
use Imagely\NGG\REST\DataMappers\ImageOperationsREST;
use Imagely\NGG\REST\DataMappers\LicenseREST;
use Imagely\NGG\REST\DataMappers\NotificationsREST;
use Imagely\NGG\REST\DataMappers\PluginManagementREST;
use Imagely\NGG\REST\DataMappers\TagREST;
use Imagely\NGG\REST\ConvertGallery\ConvertGalleryREST;
/**
* REST API Manager
*/
class Manager {
/**
* Register the REST API routes
*/
public static function rest_api_init() {
$block = new Block();
$block->register_routes();
$atp = new AttachToPost();
$atp->register_routes();
$roles_capabilities = new RolesCapabilities();
$roles_capabilities->register_routes();
// Register the DataMappers REST endpoints.
GalleryREST::register_routes();
AlbumREST::register_routes();
ImageREST::register_routes();
ImageOperationsREST::register_routes();
DisplayTypeREST::register_routes();
SettingsREST::register_routes();
TagREST::register_routes();
$notifications = new NotificationsREST();
$notifications->register_routes();
$plugin_management = new PluginManagementREST();
$plugin_management->register_routes();
$license = new LicenseREST();
$license->register_routes();
// Register the Convert Gallery REST endpoints.
ConvertGalleryREST::register_routes();
}
}