Scalar type declaration basics in Php

Jan 05 2019 0 by admin

In Php, Scalar Type Declarations two different types options :

1. Coercive mode : coercive mode is a default mode and need not to be specified.

2. Strict mode : Strict mode need to be explicitly type hinted.

Read More >

Php trait in Oops

Jan 05 2019 0 by admin

In Php trait is a new concept which is introduced to achieved multiple inheritance.

trait are created using trait keyword followed by the name of trait.

you can define variables, methods,abstract methods in trait, you can define everything that you defined within a class definition.

Read More >

Php encapsulation basics

Jan 05 2019 0 by admin

Wrapping up Data Member and Member Function in a single unit is known as encapsulation.

Read More >

Interface basics php oops

Jan 05 2019 0 by admin

An interface is a common structure which multiple class can implement. By using interface we can restrict classes to implement functions which are inside interface.

Read More >

Static variables and methods

Jan 05 2019 0 by admin

In this example we are showing how we can declare and use static variables and functions inside any class.

Read More >

Php Abstract Class

Jan 05 2019 0 by admin

A class which is defined with abstract keyword followed by class name is Known as Abstract class.

If a class has at-least one abstract method then it becomes abstract class.

Read More >

Destructor basics in php

Jan 05 2019 0 by admin

A destructor is a special member function in the class. It is used to de-allocate memory for an object created by the constructor.

Read More >

Constructor basics PHP oops

Jan 05 2019 0 by admin

In Php, Constructor is a special member function which is created by the __construct() keyword.

__construct() is automatically called when we create instance of the class.

__construct() is a “MagicMethod used to define a Constructor.

The first method of any class is Constructor method.

Read More >

Class and Object basics PHP Oops

Nov 23 2018 0 by admin

In PHP object oriented programming, a class can be created by using class keyword followed by the name of the class.

Read More >

Create contact form using WPFORM plugin in WordPress

Aug 13 2018 0 by admin

In this example we will learn how we can create a contact form in wordpress using a plugin. we are using WPFORM plugin to create wordpress form. Websites used contact form to get user queries and questions about your products and services.

Read More >