Docs »

Plugins »

Extension Points »

Workspace Tab Type

Name: Workspace Tab Type
Identifier (ID): cerberusweb.ui.workspace.tab

Manifest


		<extension point="cerberusweb.ui.workspace.tab">
			<id>core.workspace.tab.dashboard</id>
			<name>Dashboard</name>
			<class>
				<file>api/uri/internal/dashboards.php</file>
				<name>WorkspaceTab_Dashboards</name>
			</class>
			<params>
				<param key="label" value="dashboard"/>
			</params>
		</extension>

Code



class ExampleExtension extends Extension_WorkspaceTab {
	public function exportTabConfigJson(Model_WorkspacePage $page, Model_WorkspaceTab $tab) {
	}

	public function importTabConfigJson($import_json, Model_WorkspaceTab $tab) {
	}

	public function renderTab(Model_WorkspacePage $page, Model_WorkspaceTab $tab) {
	}

	public function renderTabConfig(Model_WorkspacePage $page, Model_WorkspaceTab $tab) {
	}

	public function saveTabConfig(Model_WorkspacePage $page, Model_WorkspaceTab $tab) {
	}
}


Extensions

Dashboard core.workspace.tab.dashboard
Worklists core.workspace.tab.worklists