PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Sep 26, 2017 9:34 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Dec 21, 2016 12:36 am 
Offline
Forum Newbie

Joined: Wed Dec 14, 2016 2:08 am
Posts: 2
Will somebody help me understand the classes in OOP. I know basics of it as

class human {

private $name;
function setname ($name){
}
function getname (){
}
}

or suggest me easy to understand books.


Top
 Profile  
 
PostPosted: Wed Dec 21, 2016 12:51 am 
Offline
Forum Contributor

Joined: Fri Nov 07, 2008 6:31 am
Posts: 230
Location: Nashik, India
Refer: http://php.net/manual/en/language.oop5.php

_________________
PravinS | Blog


Top
 Profile  
 
PostPosted: Wed Dec 21, 2016 7:46 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6353
Location: Montreal, Canada
Is there something specific you're struggling to understand? Some concept you don't get? For OOP in general, Sandi Metz's Practical Object Oriented Design in Ruby is probably the best book I have encountered on the subject.

_________________
Supported PHP versions No longer supported versions


Top
 Profile  
 
PostPosted: Thu Dec 22, 2016 5:35 am 
Offline
Forum Newbie

Joined: Wed Dec 14, 2016 2:08 am
Posts: 2
Thank you So much. :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group