Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
【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
You can’t perform that action at this time.