Lines Matching refs:o
74 $o = new Test;
75 echo $o->publicProperty;
77 var_export(isset($o->publicProperty));
79 unset($o->publicProperty);
80 isset($o->publicProperty);
82 echo $o->publicProperty;
84 echo $o->getPublicProperty();
86 echo $o->setPublicProperty('new publicProperty value via setter');
88 echo $o->publicProperty;
90 unset($o->publicProperty);
91 $o->publicProperty = 'new publicProperty value via public access';
93 var_export(isset($o->publicProperty));
95 echo $o->publicProperty;
99 echo $o->getProtectedProperty();
101 $o->unsetProtectedProperty();
102 var_export(isset($o->protectedProperty));
104 echo $o->getProtectedProperty();
106 echo $o->setProtectedProperty('new protectedProperty value via setter');
108 var_export(isset($o->protectedProperty));
110 echo $o->getProtectedProperty();
114 echo $o->getPrivateProperty();
116 $o->unsetPrivateProperty();
117 var_export(isset($o->privateProperty));
119 echo $o->getPrivateProperty();
121 echo $o->setPrivateProperty('new privateProperty value via setter');
123 var_export(isset($o->privateProperty));
125 echo $o->getPrivateProperty();