not yet (Zend engine 2.0 I believe has this) Currently the convention is to
name private functions _* (variables the same) This denotes to other coders
that you intended this to be a private function.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
F
Not currently, but this will be added in the Zend2 engine. You can find out
about this on the Zend website.
- Original Message -
From: "Richard Black" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 9:24 AM
Subject: [PHP] OO code and private functio
Hi there.
Not at the moment, but I think this is a feature of the new Zend engine 2,
currently in development.
Cheers
Scott
- Original Message -
From: "Richard Black" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 4:24 PM
Subject: [PHP] OO code a
Nope
On Fri, 16 Aug 2002, Richard Black wrote:
> Can I make a function private in PHP, so that it can only be called from
> within an object of that class???
>
> Just discovering the wonders of OO PHP... :-)
>
> ==
> Richard Black
> Systems Programmer, Dat
4 matches
Mail list logo