Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter4 User Guide
#4

(05-04-2017, 12:30 AM)JuveLee Wrote: But there is an example has missing "return".

It is in the follow page:
http://pneskin2.nekoget.com/codeigniter/...your-model

The method named "getNews" in "NewsModel" should have a return in the "if area" so that can return all rows from news table.

Thank you for reading this.

Oops - thanks for catching this. I've raised a fixing PR so that Lonnie sees it too Smile
Reply


Messages In This Thread
CodeIgniter4 User Guide - by jlp - 06-26-2016, 12:21 AM
RE: CodeIgniter4 User Guide - by sagipl - 04-02-2017, 11:17 PM
RE: CodeIgniter4 User Guide - by JuveLee - 05-04-2017, 12:30 AM
RE: CodeIgniter4 User Guide - by ciadmin - 05-04-2017, 07:44 AM
RE: CodeIgniter4 User Guide - by ciadmin - 05-04-2017, 10:02 AM
RE: CodeIgniter4 User Guide - by InsiteFX - 05-07-2017, 03:02 AM
RE: CodeIgniter4 User Guide - by ciadmin - 05-07-2017, 08:07 AM
RE: CodeIgniter4 User Guide - by Ragav0302 - 08-09-2017, 07:47 AM
RE: CodeIgniter4 User Guide - by ellenconnel - 08-17-2017, 03:46 AM
RE: CodeIgniter4 User Guide - by mehdibo - 01-14-2018, 07:16 AM
RE: CodeIgniter4 User Guide - by natanfelles - 01-14-2018, 10:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB