[TYPO3-core] RFC #7357: Use exceptions to detect missing user function
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Feb 2 16:06:26 CET 2008
This is a SVN patch request
Type: Feature
Branches: trunk
BT reference: http://bugs.typo3.org/view.php?id=7357
Problem: t3lib_div::callUserFunction() returns FALSE when the function
could not be found/called. This makes it impossible to call functions
which also return FALSE.
Solution: Raise an exception on error. Change $silent into $errorMode
with the meaning 1=silent and 2=exectption. To be compatible any true
value except 2 means silent.
Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_7357.diff
Type: text/x-diff
Size: 3213 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080202/e7910356/attachment.diff
More information about the TYPO3-team-core
mailing list