PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Template_Flexy » Bug #7628

Translation2 Problem: Flexy Standard Compiler want new -> should be factory

Details

Submitted2006-05-15 16:25 UTC
Fromsuttner at anduras dot de
Assignedalan_k
StatusClosed
PackageHTML_Template_Flexy
PHP Version5.1.2
OSUbuntu 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