NYCPHP Meetup

NYPHP.org

[nycphp-talk] OOP Newbie Building arrays in extended classes

Brian O'Connor gatzby3jr at gmail.com
Fri Jan 25 19:55:24 EST 2013


You can also use 'protected' to only allow sub-classes to access the
variable.


On Fri, Jan 25, 2013 at 7:52 PM, Leam Hall <leamhall at gmail.com> wrote:

> And that would be to make the variables public.
>
>
> On 01/25/2013 07:34 PM, Leam Hall wrote:
>
>> Will do. Right now I'm trying to figure out how to override a variable
>> set in the parent class.
>>
>>  ______________________________**_________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/**mailman/listinfo/talk<http://lists.nyphp.org/mailman/listinfo/talk>
>
> http://www.nyphp.org/show-**participation<http://www.nyphp.org/show-participation>
>



-- 
Brian O'Connor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130125/fc1bd3a4/attachment.html>


More information about the talk mailing list