Development

#2288 (make sfLoader customizable somehow with sf 1.1)

You must first sign up to be able to contribute.

Ticket #2288 (closed enhancement: fixed)

Opened 10 months ago

Last modified 3 months ago

make sfLoader customizable somehow with sf 1.1

Reported by: mahono Assigned to: fabien
Priority: major Milestone: 1.1.0
Component: other Version:
Keywords: sfLoader Cc:
Qualification: Unreviewed

Description

Due to the fact that sfLoader is only a "static method holder" it is not possible to override these methods. Makes sense for example to change the template locations. For example this leads to the ugly situation that the sfDimensionsPlugin needs to provide an alternative sfLoader version that needs to replace the original file to work.

Maybe a better solution would be to turn sfLoader into a context object?

But I see the problem that it would also be nice if we could override each method separately by another plugin. So maybe the "master solution" is to have a static var $dispatcher and to add a hook into each method so it can be overridden by a listener.

Change History

11/21/07 17:28:24 changed by mahono

  • qualification set to Unreviewed.
  • milestone set to 1.1.0.

12/26/07 22:34:21 changed by fabien

  • milestone changed from 1.1.0 to 1.2.0.

We will fix this in 1.2 with the introduction of a new sfConfiguration class.

03/11/08 00:32:01 changed by dwhittle

  • status changed from new to closed.
  • resolution set to fixed.

This is fixed in 1.1 with the introduction of the new configuration system.. You can now extend your application and project configuration.

05/04/08 08:47:50 changed by fabien

  • milestone changed from 1.2.0 to 1.1.0.