[TYPO3-dev] interest on enhanced API for page module?
Tapio Markula
tapio.markula at xetpoint.fi
Fri Aug 24 08:57:47 CEST 2007
Franz Holzinger kirjoitti:
> Hello,
>
> are there some extension developers who are interested in a better API
> for the page module?
>
> See the proposals at
> http://bugs.typo3.org/view.php?id=1822
>
> This is the last chance to get this new feature for TYPO3 4.2. I am not
> willing to resend this patch again later.
>
> - Franz
>
>
>
Maybe also a hook because some tables might need special processing,
when just defining configuration variables is not enough.
$hookName='getTable_'.$table;
if (is_array
($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['web_layout']['externalTables'][$hookName]))
{
$hookObj=
&t3lib_div::getUserObj($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['web_layout']['externalTables'][$hookName]);
if (method_exists($hookObj, $hookName))
return $hookObj->$hookName($table,$id);
$hookObj=NULL;
}
elseif (isset($this->externalTables[$table])) {
More information about the TYPO3-dev
mailing list