2 users online. Create an account or sign in to join them.Users

Search

Could anyone provide me with a list of the Delegates and the order in which they execute? Both front and back-end would be useful, however I'm primarily after the backend.

Thanks!

You can simply search for:

notifyMembers(

to find all delegates. Just remember that some of them are disabled (commented out) and never called.

As for order, You'd have to follow page build and rendering process, or write test extension which will register for all delegates You found, and output debug info (it will be in order they are called :).

Cool, thanks ahwayakchih. I'd found a few of these in the source but wondered if there was a definitive list. This would be a good thing to go in developer documentation methinks. I've found what I wanted, thank you.

Does anyone know if the delegates that are currently not implemented (i.e the ones commented out ) will be re-implemented, specifically the delegates associated with content.systemauthors.php class?

To make them work is it not just a case of un-commenting them? I wonder why they were removed in the first place.

That's what I was wondering, I will play around but I am not sure of the ramifications in doing so in the wider context of symphony! Only one way to find out I guess. One the episodes of the developer podcast a while back touched briefly on the concept of extending the admin through the use of delegates (the authors section was also briefly mentioned) which gave a few ideas for extensions. If I find anything out through playing I will post it back here.

I think the only reason I did that was so there were not heaps of useless delegates floating around. As I found a need for them, I was uncommenting and optimising. Feel free to add more in, and send me pull requests.

Did the delegate execution order list ever make it into the documentation?

Not yet... give me a couple of hours and I'll get a gist prepared.

Great!

A start, I've mapped out the Frontend delegates for the moment, Administration to follow, apologies for the delay.

The full list of delegates is here but they are alphabetical. I'm working on a way to get them showing in correct source order...

Update: forget it, my idea won't work. I sorted the delegates by the order in which they appear in the code, but naturally there are places where source order does not match execution order! So a manual list will be required. Unless the inline code comments against each delegate are given a new @param, perhaps @order and an integer ascribed to each. Lame.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details