note 54850 deleted from language.oop5.visibility by betz
| From: | betz@php.net | Date: | Mon, 18 Jul 2005 10:15:06 +0000 |
| Subject: | note 54850 deleted from language.oop5.visibility by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-92102@lists.php.net to get a copy of this message | ||
Note Submitter: Chris Blake
----
PHP seems to be developing its OO imlpementation which is awesome!
but
yet, it still doesnt support a few things and in this area, i wish it would support access modifiers
(visibility) on a class level and introduce the 'internal' access modifier. This could
allow you to define a class within a php script that is only visble within there.
This is the kind of class that you need to define to do work for another class but it itself is a
distinct entity. I dont like having a ton of classes visible outside of a php script, when only a
small subset of these classes is to be used..
This is more of a component abstraction above objects but it makes it oh so neater and more robust
since clients cannot bind to classes they cant 'see' they can't use the helper
classes... Its exactly the same thing as access modifiers on functions within a class...
bah! anway!!
PHP is coming along beautifully.. won't be too many more releases till i switch back to it
fully! PHP rocks!