Answers.Body: <p>From the docs: <a href="http://buildwithcraft.com/docs/plugins/hooks-and-events#listening-for-events" rel="nofollow">http://buildwithcraft.com/docs/plugins/hooks-and-events#listening-for-events</a></p>
  
  <p>The <a href="http://buildwithcraft.com/classreference/models/EntryModel" rel="nofollow">entry</a> will be in the <code>params</code> property of the <code>$event</code>.  You can access it like so:</p>
  
  <pre><code>$event-&gt;params['entry']
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-10T22:01:34.210Z
Answers.LastActivityDate: 2014-10-10T22:01:34.210Z
Answers.UserDisplayName: Brad Bell
Body: <p>I am trying to fetch the content from an event <code>onEntrySave</code> 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? </p>
  
Tags: <plugin-development><plugins><entry><events>
Title: How to fetch the data from Event
ThreadText: # How to fetch the data from Event
  
  (Asked by: username_0 on 2014-10-10)
  
  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?
  
  **Tags:** plugin-development, plugins, entry, events
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-10-10. Score: 1
  
  From the docs: <http://buildwithcraft.com/docs/plugins/hooks-and-events#listening-for-events>
  
  The [entry](http://buildwithcraft.com/classreference/models/EntryModel) will be in the `params` property of the `$event`. You can access it like so:
  
  ```
  $event->params['entry']
  
  ```
  
  
  ---
  
  