Featured Articles
449 days agojQuery Calendar Widget Plugin
429 days agojquery animated charts and graphs
what are the difference between abstract class and interface in php
S.No
Abstract Class
Interface
1
For abstract class a method must be declared as abstract. Abstract methods doesn’t have any implementation.
For interface all the methods ...
php 5 oops (object oriented programming) tutorial
What is OOP
Object Oriented Programming (OOP) is a programming concept that treats functions and data as objects. OK, not the best definition but gives us an opening. The key word ...
parent keyword in oops (Object Oriented programming) php5
You may find yourself writing code that refers to variables and functions in base classes.
This is particularly true if your derived class is a refinement or specialization of code ...
OOPS in PHP 5 Tutorial – Inheritance
This tutorial will guide you through one of the main feature of Object Oriented Programing which is called Inheritance. Basically Inheritance is a mechanism where a new class is derived ...
Singleton Class in PHP 5 OOPS
OOPS in PHP 5 the whole bunch of Object Oriented Design Pattern will now come into the PHP 5 programming. The most famous and commonly used is Singleton Class. The main advantage of ...
OOPS in PHP5 – Polymorphism in oops
Polymorphism in PHP5 is a technique where the function to be called is detected based on the class object calling it at runtime. The basis of Polymorphism is Inheritance and function ...
OOPS in PHP 5 – __destruct() Method
Destructor are special function in Object Oriented Programming. It gets called automatically whenever object of a class is destroyed or goes out of scope. This is useful for clean up ...
PHP5 OOPS Constructor – __construct() Method
Construcors are special function in object oriented programming. It gets called automatically whenever object of class is created. This is useful for performing any pre operations before ...
PHP5 OOPS Tutorial – Defining Class Constants
In PHP5 we can defines class level constants that will not change its value within the class scope. We can use the class constants in php5 using a new keyowrd “const”. Only ...
Define Methods for the Class
Now once you have declared class and all its data members now will have to declare all the methods that the class will use. This tutorial will guide you to create methods for class.
...
