DevShed: Protecting PHP 5 Class Data with Member Visibility

Courtesy PHPDeveloper.org  Thu, 05/22/2008 - 09:37

In this new tutorial posted to DevShed, they take a look at working with classes in PHP5, specifically using the keywords for "member visibility" to make your classes a bit more structured.

The previous concept can also be applied successfully when it comes to defining the visibility of properties and methods in PHP classes.

[...] Using the jargon of object-oriented programming, this capacity is widely known as member visibility. This capacity allows PHP programmers to establish whether...

Sponsors


 

Related items

Stefan Priebsch's Blog: php|architect's Guide to PHP 5 Migration...
Stefan Priebsch has posted about the official release of his book, one of the latest from php|architect press - "php|architect's Guide to PHP 5...

SPL autoloading in PHP - Antoine Ughetto
In php5 we have a fabulous new feature, autoloading Objects. This function load dynamically classes.Before this magic function, we had to include all...

VCL/PHP followup - Eirik Hoem
type="text/css"> After receiving quite some feedback on my post “Why Delphi for PHP should have used Prado instead of VCL” I decided to do...

Solar System - Paul M. Jones » PHP
In the spirit of some other framework projects, the Solar Framework for PHP 5 now offers a ready-to-use Solar system to get new users off to a quick...

Christian Weiske's Blog: Importing huge XML files using PHP5 - e...
Christian Weiske has a quick tip on how to get larger XML files to pull into PHP5 and be usable: At work I had the task to implement the...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com