PHP

33
1346 reads

February 21, 2013

Using the -> and :: operators to call hypnotize


Using the -> and :: operators
26
1352 reads

February 21, 2013

Calling the constructor of the parent class


Call Parent Class Constructor from Object of extended Class
146
1290 reads

February 21, 2013

Using the extends keyword to define a subclass


Using the extends keyword to define a subclass and use the public member and functions
31
1417 reads

February 21, 2013

Using this keyword


this keyword is used to access the member function and variable associated with current object.
30
1411 reads

February 21, 2013

Defining three member functions for Cat


Defining Member Functions
38
1357 reads

February 21, 2013

Using the PHP 5 style constructor


Constructor in PHP5
34
1392 reads

February 21, 2013

Creating the Cat constructor


Constructors are called whenever an object of a class is made.
32
1416 reads

February 21, 2013

Creating an object of the Cat class


A new object is created on using Cat(),which is basically a constructor.
36
1269 reads

February 21, 2013

24
1435 reads

February 21, 2013

Creating a capitalize function with a default parameter $each


Capitalizing a String using predefined functions