Skip to content

Welcome

Mathieu Nayrolles edited this page Jan 20, 2016 · 1 revision

Welcome

Application Controller Class

This class object is the super class that every library in CodeIgniter will be assigned to.

Properties

$instance

private object $instance

Reference to the CI singleton

  • Visibility: private
  • This property is static.

Methods

index

mixed Welcome::index()

Index Page for this controller.

Maps to the following URL http://example.com/index.php/welcome

So any other public methods not prefixed with an underscore will map to /index.php/welcome/<method_name>

  • Visibility: public

__construct

void CI_Controller::__construct()

Class constructor

get_instance

object CI_Controller::get_instance()

Get the CI singleton

  • Visibility: public
  • This method is static.
  • This method is defined by CI_Controller
Clone this wiki locally