Results 1 to 10 of 12
Threaded View
-
15th Oct 2010, 03:52 PM #1OPMemberWebsite's:
Doxsters.netWhat is the point of the php extends in relation to classes?
I just don't get it. Why create one class, eg
PHP Code:class user{
function login(){
//login stuff
}
}
PHP Code:class admin extends user{
function admin(){
//admin stuff
}
}
timtamboy63 Reviewed by timtamboy63 on . What is the point of the php extends in relation to classes? I just don't get it. Why create one class, eg class user{ function login(){ //login stuff } } then use the extends keyword like so Rating: 5
Need a Designer/Web Developer? Click Me
MSN: PM me for it.
Email(Preferred):timtamboy63@gmail.com
"Power Corrupts. Absolute Power Corrupts Absolutely"
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Microsoft extends Windows 7 support to 2020
By ShareShiz in forum News & Current EventsReplies: 10Last Post: 24th Feb 2012, 03:18 PM -
What's the point of...
By tres in forum General DiscussionReplies: 3Last Post: 30th Oct 2010, 01:02 AM -
C# Basics I - Classes in C#
By iFlames in forum Web Development AreaReplies: 9Last Post: 29th Jun 2010, 05:33 PM -
LE with live-point.net
By SpiderZq in forum Traffic Market (Buy, Sell and Trade)Replies: 3Last Post: 2nd Sep 2009, 09:08 PM -
PHP Tutorial (Creating Classes)
By litewarez in forum Tutorials and GuidesReplies: 0Last Post: 14th May 2009, 11:40 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...