Welcome Guest, Not a member yet? Register   Sign In
Check if my codeigniter 4 runs in multilingual mode.
#4

(This post was last modified: 05-10-2021, 01:54 AM by InsiteFX. Edit Reason: Added array usage )

You may need to use the _remap method.

Remapping Method Calls

PHP Code:
public function _remap($method$params = array())
  {
      $method 'process'.ucwords($method);
      if (method_exists($this$method))
      {
          return call_user_func_array(array($this$method), $params);
      }
      show_404();
  
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Check if my codeigniter 4 runs in multilingual mode. - by InsiteFX - 05-10-2021, 01:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB