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-----
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 9:24 AM
To: Php-General
Subject: [PHP] OO code and private functions


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, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to