私の疑問は次のとおりです:codeigniterでこのようなことをする方法はありますか
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Users extends CI_Controller {
public function __construct()
{
parent::__construct();
}
//This method only user with admin permission can access this
public function onlyAdmin(){
}
//This method all user can access this
public function allUser(){
}
}
そのようなもの、またはよりダイナミックなもの。
お時間ありがとうございました。