-
- Brandlive (Brasil)

-
Total Posts: 653
Joined: 2008-05-19
Buenos Aires, Argentina
|
Sorry, I misunderstood your post.
Well, you can try with
<?php
class foo { function name() { echo "My name is " , get_class($this) , "\n"; } }
// create an object $bar = new foo();
// external call echo "Its name is " , get_class($bar) , "\n";
// internal call $bar->name();
?>
More class functions at: http://ar2.php.net/manual/en/function.get-class.php
If this can’t help you, I’m gonna think that it’s too much english for me on friday.
|