"::" operator problem
| From: | Mirek Novak | Date: | Thu, 17 Jul 2003 12:58:50 +0000 |
| Subject: | "::" operator problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155596@lists.php.net to get a copy of this message | ||
Hi,
I have defined class 'image' with method 'getData' so can I do this
<?php
$class = 'image';
$id = '1234567abcdef';
$result = $class::getData($id);
?>
TIA
--
Mirek Novak
jabberID: mirek@njs.netlab.cz
ICQ: 119499448