Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
144 lines (122 sloc) 3.4 KB
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.devblocks.com/schema/plugin.xsd">
<id>cerberusweb.datacenter</id>
<name>Datacenter Management</name>
<description>Adds server management features</description>
<author>WebGroup Media, LLC.</author>
<version>1.0.2</version>
<link>https://github.com/cerb5-plugins/cerberusweb.datacenter</link>
<image>plugin.png</image>
<!-- Requirements -->
<requires>
<app_version min="5.6" max="5.7.99" />
</requires>
<!-- Plugin Dependencies -->
<dependencies>
<require plugin_id="cerberusweb.core" version="5.1.0" />
</dependencies>
<!-- Patches -->
<patches>
<patch version="5.1.0" revision="1" file="patches/5.1.0.php" />
</patches>
<!-- Exported Classes -->
<class_loader>
<file path="api/App.php">
<class name="Extension_DatacenterTab" />
</file>
<file path="api/dao/server.php">
<class name="DAO_Server" />
<class name="Model_Server" />
<class name="Plugin_Server" />
<class name="SearchFields_Server" />
<class name="View_Server" />
</file>
<file path="api/events/abstract_event_server.php">
<class name="AbstractEvent_Server" />
</file>
<file path="api/events/server_macro.php">
<class name="Event_ServerMacro" />
</file>
</class_loader>
<!-- Extensions -->
<extensions>
<!-- Event Listeners -->
<extension point="devblocks.listener.event">
<id>cerberusweb.datacenter.listener</id>
<name>Event Listener</name>
<class>
<file>api/App.php</file>
<name>EventListener_Datacenter</name>
</class>
<params>
<param key="events">
<value>
<data key="cron.maint" />
</value>
</param>
</params>
</extension>
<!-- Contexts -->
<extension point="devblocks.context">
<id>cerberusweb.contexts.datacenter.server</id>
<name>Server</name>
<class>
<file>api/dao/server.php</file>
<name>Context_Server</name>
</class>
<params>
<param key="view_class" value="View_Server" />
<param key="options">
<value>
<!--<data key="create" />-->
<data key="find" />
<data key="snippets" />
<data key="workspace" />
</value>
</param>
</params>
</extension>
<!-- Events -->
<extension point="devblocks.event">
<id>event.macro.server</id>
<name>Custom server behavior</name>
<class>
<file>api/events/server_macro.php</file>
<name>Event_ServerMacro</name>
</class>
<params>
<param key="contexts">
<value>
<data key="cerberusweb.contexts.worker" />
</value>
</param>
</params>
</extension>
<!-- Pages -->
<extension point="cerberusweb.page">
<id>cerberusweb.datacenter.page</id>
<name>Datacenter Page</name>
<class>
<file>api/App.php</file>
<name>Page_Datacenter</name>
</class>
<params>
<param key="uri" value="datacenter" />
<param key="menutitle" value="cerberusweb.datacenter.common.datacenter" />
</params>
</extension>
<!-- Datacenter Tabs -->
<extension point="cerberusweb.datacenter.tab">
<id>cerberusweb.datacenter.tab.servers</id>
<name>Servers Tab</name>
<class>
<file>api/App.php</file>
<name>DatacenterServersTab</name>
</class>
<params>
<param key="uri" value="servers" />
<param key="title" value="cerberusweb.datacenter.common.servers" />
</params>
</extension>
</extensions>
</plugin>
Jump to Line
Something went wrong with that request. Please try again.