Hey guys. I have looked over the PHP manual on version 5.0 and am pretty familiar with how classes work in PHP.
My question is about calling them from other files.
Say I have a class in a file called MyClass.php(Or do you name it something else like .class?) that has a class in it with a few functions.
<?php
class myClass {
private function __function1($property) {
}
private function __function2($property) {
}
}
?>
Then I have another file Called UseMyClass.php. How would I call the MyClass.php file into the UseMyClass.php and then use it?
Thanks!