title: overwrite function and save - Symfony
body: <p>table:</p>
  
  <pre><code>id  | title   | body
  1   | title1  | body1
  2   | title2  | body2
  </code></pre>
  
  <p>in BaseNews i have:</p>
  
  <blockquote>
    <ul>
    <li>@method string     getTitle()  Returns the current record's "title"
    value</li>
    </ul>
  </blockquote>
  
  <pre><code>class News extends BaseNews
  {   
      public function save(Doctrine_Connection $conn = null) {
  
          $this-&gt;setTitle(functionOne($this-&gt;getTitle()));
  
          parent::save($conn);
      }
  
      public function getTitle()
      {
          return functionTwo($this-&gt;getTitle());
      }
  
  }
  </code></pre>
  
  <p>How can i make if execute function <strong>save</strong> then she get data from directly FORM, but not from function getTitle in this class? I must overwrite function getTitle() in this class, that execute <strong>functionTwo</strong> (i use this in template), but functionTwo should not execute in <strong>public function save</strong>, because there only execute functionOne.</p>
  
  <p>I would like get data from Form directly.</p>