title: Magento Event / Observer Object getData problems
body: <p>I have a Magento Module I built that allows you to save a string via the admin interface to the core config table in Magento.  I have an observer setup to run a method when the string is saved in the backend.  I'm killing myself trying to intercept the string and encode it before saving it to the database.</p>
  
  <p>So when my event is triggered it runs this :</p>
  
  <pre><code>public function myModSaved($observer)
  {
      echo "&lt;h1&gt; WOWSERS IT ACTUALLY WORKED!!&lt;/h1&gt;";
  
      $data = $observer-&gt;getData();   
      print_r($data);
  }
  </code></pre>
  
  <p>The output looks like this:</p>
  
  <pre><code>Array ( [event] =&gt; Varien_Event Object ( [_observers:protected] =&gt; Varien_Event_Observer_Collection Object ( [_observers:protected] =&gt; Array ( ) ) [_data:protected] =&gt; Array ( [website] =&gt; [store] =&gt; [name] =&gt; admin_system_config_changed_section_mymodule_section ) [_hasDataChanges:protected] =&gt; [_origData:protected] =&gt; [_idFieldName:protected] =&gt; [_isDeleted:protected] =&gt; [_oldFieldsMap:protected] =&gt; Array ( ) [_syncFieldsMap:protected] =&gt; Array ( ) ) [website] =&gt; [store] =&gt; ) 
  </code></pre>
  
  <p>Now there is only one string being written to the database, how do I get that string before it is saved, then add my new modified string to the object so that one saves in the DB?</p>
  
  <p>Thanks in advance!</p>