Created
March 27, 2016 10:30
-
-
Save kurozumi/309bebd778ea6474f5d0 to your computer and use it in GitHub Desktop.
【CodeIgniter3】フックを使ってコントローラーを拡張するクラスを複数作成する方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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