40 print "Error, template page can't be called as URL";
41 exit(1);
42}
43
44'
45@phan-var-force CommonObject $object
46@phan-var-force string $action
47@phan-var-force Conf $conf
48@phan-var-force Translate $langs
49@phan-var-force array<string,mixed> $parameters
50';
51
52?>
53<!-- BEGIN PHP TEMPLATE extrafields_edit.tpl.php -->
54<?php
55
56// Other attributes
57if (!isset($parameters)) {
58 $parameters = array();
59}
60'
61@phan-var-force CommonObject $object
62@phan-var-force string $action
63@phan-var-force Conf $conf
64@phan-var-force Translate $conf
65@phan-var-force array<string,mixed> $parameters
66@phan-var-force ?string $tpl_context
67';
68
69$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook