Extension Utility 

The ExtensionUtility is the public API for TCA configuration and feature management. Use it to register additional record tables (see Additional Records) and to query the current extension configuration from your own code.

class ExtensionUtility
Fully qualified name
\Xima\XimaTypo3ContentPlanner\Utility\ExtensionUtility

Utility class for TCA configuration and feature management.

addContentPlannerTabToTCA ( $table)

Add the "Content Planner" tab (status, assignee and comments palette) to the TCA of the given table. Call this in a Configuration/TCA/Overrides/<table>.php file.

param string $table

Table name to extend.

returntype

void

getRecordTables ( )

Get all tables that are tracked by the content planner. Includes pages, the optionally enabled tt_content and filelist tables as well as all tables registered via registerAdditionalRecordTables.

returntype

string[]

isRegisteredRecordTable ( $table)

Check whether the given table is tracked by the content planner.

param string $table

Table name to check.

returntype

bool

isFilelistSupportEnabled ( )

Check whether filelist support (files and folders) is enabled via the enableFilelistSupport extension configuration.

returntype

bool

isContentElementSupportEnabled ( )

Check whether content element support ( tt_content) is enabled via the enableContentElementSupport extension configuration.

returntype

bool

isFeatureEnabled ( $feature)

Check whether a boolean extension configuration feature is enabled.

param string $feature

Configuration key, e.g. commentTodos.

returntype

bool

getExtensionSetting ( $feature)

Get the raw value of an extension configuration option as string.

param string $feature

Configuration key, e.g. treeStatusInformation.

returntype

string