Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Created March 27, 2016 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurozumi/309bebd778ea6474f5d0 to your computer and use it in GitHub Desktop.
Save kurozumi/309bebd778ea6474f5d0 to your computer and use it in GitHub Desktop.
【CodeIgniter3】フックを使ってコントローラーを拡張するクラスを複数作成する方法
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin_Controller extends CI_Controller
{
public function __construct()
{
parent::__construct();
}
public function class_name()
{
return __CLASS__;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment