Constructor method

The Constructor method will loaded all parent class that required for a controller.

This is method is very important for Seme Framework Controller.

If the constructor method is missed, you maybe get unexpected result.

Ussually the parent constructor are executed after class constructor

Basic Usage

The basic usage for this method is:


Here is the full example:

  class Blog extends SENE_Controller {
    public function __construct(){
  public function index(){
    echo 'Hi, I run properly!';
Controller Load Method