title: Yii model overriding
body: <p>is it possible to override the methods in the yii model. for example i have a model name <strong>Books</strong> and i need to override all the rules written in the Model. now the Books model have 3 rules defined. what i do is make a new class BooksExt extends the Books model.</p>
  
  <pre><code>class BooksExt extends Books {
   public function rules() {
     return array();
     // i am not using the parent::rules() inside this. 
     // i dont need to use the rules for this model.
   }
   public function search() {
     return 'search override';
     // does this function also get override.
   }
  }
  </code></pre>
  
  <p>does i write a blank rules() method removes all the rules and when i call </p>
  
  <pre><code>$model = new AccountsPrefferredSuppliersExt;
  $model-&gt;search();
  </code></pre>
  
  <p>its printing search override. does it accept the rules as empty array. 
  friends can you just check and please responds.</p>
  
  <p>thanks in advance.. have a nice day </p>