title: How do I use parameters of parent class method with the same method name?
body: <p>The title is a bit confusing, I know, but it's the best I could do.  =P</p>
  
  <p>Hopefully, someone will be able to help.</p>
  
  <p>I'm using CodeIgniter and I have a method in a base class that has multiple parameters:</p>
  
  <pre><code>class MY_Base extends CI_Model {
  
      function some_function($param1, $param2 ... $param8) {
          // do stuff
      }
  }
  </code></pre>
  
  <p>What I want to do is basically this, in a child class:</p>
  
  <pre><code>class Child extends MY_Base {
  
      function some_function($param1, $param2 ... $param8) {
          parent::some_function($param1, $param2 ... $param8);
          // call a methods found in this class only
          $this-&gt;some_method();
      }
  
      function some_method() {
          // do more stuff
      }
  }
  </code></pre>
  
  <p>I can't touch the base classes so I have to extend from it. Problem is, There are just too many parameters. And this happens in different methods as well and sometimes I forget one which makes the code fail.</p>
  
  <p>So I was wondering, if there's a way to write it like this:</p>
  
  <pre><code>function some_function(__PARAMETERS__) {
      parent::some_function(__PARAMETERS__)
  }
  </code></pre>
  
  <p>I seem to vaguely recall that this is possible but I can't find it in Google. Probably because I'm searching the wrong keywords.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>EDIT:
  And then, of course, I find <code>func_get_args()</code> after posting this question. 
  This seems to do what I want, but I'll leave this question up for better ideas.</p>