Home » HTML » HTML_Template_Flexy » Bug #7628
Translation2 Problem: Flexy Standard Compiler want new -> should be factory
Details
| Submitted | 2006-05-15 16:25 UTC |
|---|---|
| From | suttner at anduras dot de |
| Assigned | alan_k |
| Status | Closed |
| Package | HTML_Template_Flexy |
| PHP Version | 5.1.2 |
| OS | Ubuntu Dapper Drake Beta |
| Roadmaps | (Not assigned) |
Comments
[2006-05-15 16:25 UTC] suttner at anduras dot de
Description:
------------
Flexy Standard Compiler (Flexy/Compiler/Standard.php) want to instantiate Translation2 by using new. This should be changed to factory, because Translation2 do not accept the "new" form.
Test script:
---------------
We have done the following changes:
pear/HTML/Template/Flexy/Compiler/Standard.php !!!
- $this->options['Translation2'] = new Translation2
+ $this->options['Translation2'] = Translation2::factory