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

Search

I need to determine field type of each of the posted values. Any creative ideas? My first thought was to figure out how to get the section ID but that doesn't seem to be passed in $context.

Hmmm, $context['event']::getSource() works but according to the docs $context['event'] should be a string, but it's an object. Either way, we can get the source.

Docs need an update, or is Symphony code incorrect?

P.S. glad brendo made getSource() static! Cheers mate.

The docs are wrong, $context['event'] in the EventPreSaveFilter delegate context should return an Event object, not a string.

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