Add included PHP function to a class?
<p>I have many different PHP-files. Because it is a Wordpress theme I need to include all my functions into a class to avoid collisions.</p>

<p>What I want is having the theme name as a "prefix" (first part of the class name). <strong>Is it possible to use the same class for all functions even if they are in different PHP files?</strong></p>

<p><strong>This is how it might look:</strong></p>

<pre><code>myfunctions.php
myfunctions_extra.php
</code></pre>

<p>"myfunctions.php" includes a function <code>test</code> that is added to <code>class my_class</code>.</p>

<p>"myfunctions_extra.php" includes a function <code>test2</code> that should be added to <code>class my_class</code> as well.</p>

<p>Is it possible? How?</p>
