References to functions inside a class?
| From: | Joey | Date: | Mon, 05 Jun 2000 04:47:23 +0000 |
| Subject: | References to functions inside a class? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-16143@lists.php.net to get a copy of this message | ||
Can anyone point me to documentation on (or the subject of a previous
discussion about) how to do something like this?
<?php
class Call
{
function Call($limit)
{
if($limit)
$this->query() = &$this->query_l();
else
$this->query() = &$this->query_u();
}
}
?>
PS: I'll even accept a pointer to discussion saying that it CAN'T be
done...I know someone on this list was discussiing this at one pont, but I
don't recall the discussion.
Thanks.
--Joey Smith
Please forgive the long sig:
*** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators. Emailing denotes acceptance of said terms!