Re: SOLVED "::" operator problem
| From: | Mirek Novak | Date: | Thu, 17 Jul 2003 13:09:29 +0000 |
| Subject: | Re: SOLVED "::" operator problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155599@lists.php.net to get a copy of this message | ||
Mirek Novak napsal(a):
Hi, I have defined class 'image' with method 'getData' so can I do this <?php $class = 'image'; $id = '1234567abcdef'; $result = $class::getData($id); ?> TIAHa, found solution in online docs & wiki, chapter http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php -- Mirek Novak