[php] Beginner's OOP files in PHP

Charlie Somerville charlie at charliesomerville.com
Thu Oct 18 16:21:40 EST 2012


Instead of using the PHP4 'var' declaration syntax, use the PHP5 declaration syntax: 

http://php.net/manual/en/language.oop5.visibility.php 


On Wednesday, 17 October 2012 at 3:26 PM, Margaret Iaquinto wrote:

> To give my students an introduction to OOP concepts, I started with these files. They supplement the teaching; they don't have all the details required for self-instruction.
> 
> Missing at this point are the use of private, public and protected.
> 
> Most of my code is sourced and edited from killerphp and code2learn.  And many YouTube videos. Most of all, I would like to document here the helpfulness of Kevork's book.
> 
> So, it's just a taste. If you use the files, please improve them and post the updated ones.
> 
> Maggie
> (ICT at St Leonards)
> _______________________________________________
> http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
> PHP Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority and
> http://www.vitta.org.au - VITTA Victorian Information Technology Teachers Association Inc
> http://www.swinburne.edu.au/ict/schools - Swinburne University
> 
> 
> 
> 
> Attachments: 
> - Getting started with OOP TN.docx
> 
> - Getting started with OOP.docx
> 
> - OOP in PHP Car records app TN.docx
> 
> - OOP in PHP Car records app.docx
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/php/attachments/20121018/2fa9e6bd/attachment.html 


More information about the php mailing list