PHP recommends making accessor/mutator functions available in a java style manner. This means that you will have to use $myObjects->getMyProperty(); every time you need to. To improve readability and make us type a bit less, you’d obviously just want to use $myObjects->myProperty.
The following code makes this possible by using PHP’s magic functions
-
Articles
-
Calendar
February 2012 M T W T F S S « Jan 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 -
Meta

