events/Documentation/Developer/Index.rst

1.3 KiB

Developer Corner

Target group: Developers

Use this section for providing code examples or any useful information code wise.

Hooks

Possible hook examples. Input parameters are:

Parameter Data type Description
$table string Name of the table
$field string Name of the field

Use parameter $table to retrieve the table name...

API

How to use the API...

$stuff = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
    '\\Foo\\Bar\\Utility\\Stuff'
);
$stuff->do();

or some other language:

$(document).ready(
    function () {
        doStuff();
    }
);