Docs »

Plugins »

Extension Points »

Profile Tab Type

Name: Profile Tab Type
Identifier (ID): cerb.profile.tab

Manifest


		<extension point="cerb.profile.tab">
			<id>cerb.profile.tab.dashboard</id>
			<name>Dashboard</name>
			<class>
				<file>api/uri/profiles.php</file>
				<name>ProfileTab_Dashboard</name>
			</class>
			<params>
			</params>
		</extension>

Code



class ExampleExtension extends Extension_ProfileTab {
	public function renderConfig(Model_ProfileTab $model) {
	}

	public function saveConfig(Model_ProfileTab $model) {
	}

	public function showTab(Model_ProfileTab $model, $context, $context_id) {
	}

	public function invoke(string $action, Model_ProfileTab $model) {
	}
}


Extensions

Dashboard cerb.profile.tab.dashboard
Portal Configure cerb.profile.tab.portal.config
Portal Deploy cerb.profile.tab.portal.deploy
Worker Settings cerb.profile.tab.worker.settings