[FLOW3-general] TYPO3.Form using RedirectFinisher with post

Karsten Dambekalns karsten at typo3.org
Tue Aug 14 09:38:47 CEST 2012


Hi.

On 13.08.12 11:29, Robin Lehrmann wrote:
> Why I cant use $this-> ?

The use if $this for/in closures is not supported in PHP 5.3. A
workaround is to assign a temporary variable:

$articleRepository = $this->articleRepository;
 …
… use ($articleRepository) { … }

Regards,
Karsten
-- 
Karsten Dambekalns
TYPO3 Core Developer, FLOW3 / Phoenix Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list