class A {
        static function find($id) {
                // lets try and find a 'something'
        }
}

class B extends A {}

// I'd like a 'B' please bob.
$b = B::find( 1 );



are you saying that A::find() can tell that it was called as B::find() ?

Yes, this is exactly what LSB does.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to