Closed nilshoerrmann closed 13 years ago
I've added the delegate, keep in mind that the values you'll get back are slightly different to what you might be expecting.
$this
refers to the Union Datasource, not one of the 'other' datasources that it's unioning. So if you are joining 3 datasources, this delegate will only fire once.
$entries
may contain entries from multiple sections, instead of the same section as the datasource.
$filters
refers to the filters on the Union Datasource, which should be always an empty array (as Union DS doesn't do any filtering)
You can access all the datasource objects via $this->datasources
, which is an associative array of datasource-handle => Datasource objects used in the Union DS.
It would be great if the
UnionDatasource
could implement theDataSourceEntriesBuilt
delegate present in the Symphony core. Otherwise the next version of Subsection Manager will fail to output its items.