[FLOW3-general] how to param function with longer package name
Dawid Pacholczyk
dpacholczyk at gmail.com
Sun Aug 7 19:58:30 CEST 2011
W dniu 2011-08-07 19:46, Dawid Pacholczyk pisze:
> Hi List,
> I want to param a method in my model. I named my package like the new
> Framework packages - with dot
>
> Key.name
>
> Now. How I should param a method ?
>
> I`ve done something like this:
>
> public function \TYPO3\Key.name\Domain\Model\Class
>
> but I get an error
>
> syntax error, unexpected '.'
>
> How should I do it ?
>
> Best regards,
> Dawid Pacholczyk
Shame on me :)
I had to dig in and i found it
the dot should be replaced by slash -> \
That solves the problem
Best regards,
Dawid Pacholczyk
More information about the FLOW3-general
mailing list