Documentation

pm_Hook_DynamicList
in package
implements pm_Hook_Interface

Abstract class for adding custom content to domain card in dynamic view

Tags
since
18.0

Interfaces, Classes and Traits

pm_Hook_Interface
Generic interface for hooks

Table of Contents

getTabs()  : array<string|int, mixed>
Retrieve the list of domain card tabs

Methods

getTabs()

Retrieve the list of domain card tabs

public abstract getTabs(string $itemId) : array<string|int, mixed>
[
     'uniqueTabId' => [
         'title' => 'My Awesome Tab',
         'content' => '<span>My awesome tab content</span>',
         'order' => 3,
     ]
]
Parameters
$itemId : string

identifier of domain or alias object in format {a|d}:{objectId}

Return values
array<string|int, mixed>

Search results