[TYPO3-dev] XCLASS conflict examples

Dennis Cheung hkdennis2k at gmail.com
Mon Feb 13 16:37:14 CET 2006


That is a main point.
If it need something have to done manually by coding on php.
Why we need XCLASS? It is not trustable.

>kb_pm_paste has a XCLASS for *two small functions* - totally
>unnecessary and creates an unnecessary conflict with 'class.
>ux_t3lib_clipboard.php' for 'kb_conttable'.

That's why hooks/service is better in most case.

You never overrider the class (You'll write a new plugin for that.)
But you will choise one to two feature / method inside someothers class.


Dennis

On 2/13/06, tapio <tapio.markula at dnainternet.net> wrote:
> I take off that conflict making local version of two functions inside
> 'class.ux_tx_cms_layout.php' instead of inside class.ux_t3lib_clipboard.
> php! Simple.




More information about the TYPO3-dev mailing list