Re: $this availability inside static-functions
| From: | Sebastian Mendel | Date: | Fri, 22 Jul 2005 09:44:26 +0000 |
| Subject: | Re: $this availability inside static-functions | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17377@lists.php.net to get a copy of this message | ||
patrick müller wrote:
> Sebastian Mendel wrote:
>
>> how about if i need a name for object not loaded?
>>
>> Class::getName( $object_id );
>>
>
> Weird, i thought you must know the classname for a static
> call :)
not the classname, the objectname f.e. the name for the object of type
customer with id 31728 is 'Smith' ...
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet