[TYPO3-commerce] FYI 96: Bug #30100 - protected property "formError" not accessible in Hooks

Ingo Schmitt is at marketing-factory.de
Thu Sep 22 15:20:03 CEST 2011


+1 by reading

ingo
> This is an SVN Patch request
> 
> Type: Bugfix
> 
> Bugtracker reference: http://forge.typo3.org/issues/30100
> 
> Branches: trunk
> 
> Problem:
> in pi4/class.tx_commerce_pi4.php the var $formError is protected. It is
> impossible to read the property in hooks.
> 
> Solution:
> The attached patch adds setter and getter for $formError and adds a new
> method called getErrors() which returns if any errors occurred...
> 
> 
> regards,
> Georg
> <class.tx_commerce_pi4.diff>_______________________________________________
> TYPO3-team-commerce mailing list
> TYPO3-team-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-commerce


Mit freundlichen Gruessen
Ingo Schmitt

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Marienstrasse 14                   *          Tel.: +49 211-361176-63
D-40212 Duesseldorf, Germany       *          Fax:  +49 211-361176-64
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-team-commerce mailing list