1

I am trying to fetch the content from an event onEntrySave but I don't know how to access the entry's properties from the event. So far I have got the event handler working I would just like to fetch the data, any ideas?

1

From the docs: http://buildwithcraft.com/docs/plugins/hooks-and-events#listening-for-events

The entry will be in the params property of the $event. You can access it like so:

$event->params['entry']
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.