Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Autoload Library
Post: RE: Autoload Library

I hope this would help  https://bcit-ci.github.io/CodeIgniter4/concepts/autoloader.html
9,282 Views
5 Replies
11-14-2017, 03:07 AM
jaynarayan
    Thread: What about a Country helper class.
Post: RE: What about a Country helper class.

May be this is related Link to number format helper function (https://github.com/bcit-ci/CodeIgniter4/blob/develop/system/Helpers/number_helper.php#L194) in ci4 This is  wrapper function for using  ...
7,578 Views
6 Replies
10-04-2017, 07:26 AM
jaynarayan
    Thread: Does ci4 have an offline version of the document that can be downloaded?
Post: RE: Does ci4 have an offline version of the docume...

If you want you can download the compiled user guide using wget command and use it offline. wget -r https://bcit-ci.github.io/CodeIgniter4/ But as docs are updated on regular basis , you have to...
5,148 Views
4 Replies
09-30-2017, 11:14 PM
jaynarayan
    Thread: Form validation not working
Post: RE: Form validation not working

The  Issue (https://github.com/bcit-ci/CodeIgniter4/issues/715) was Fixed in this commit (https://github.com/bcit-ci/CodeIgniter4/commit/0bda6ee4028ca3154628dea0b3ef52de493a3eaa)
4,596 Views
2 Replies
09-28-2017, 12:26 AM
jaynarayan
    Thread: dropTable() not working when no database prefix set.
Post: RE: dropTable() not working when no database prefi...

It was big and fixed. https://github.com/bcit-ci/CodeIgniter4/pull/736
2,463 Views
1 Replies
09-27-2017, 09:55 PM
jaynarayan
    Thread: dropTable() not working when no database prefix set.
Post: dropTable() not working when no database prefix se...

Hi,  When I roll out migration ,the following error appears: D:\xampp\htdocs\ci4.dev\pms>php spark migrate:rollback CodeIgniter CLI Tool - Version 4.0-dev - Server-Time: 2017-09-25 20:22:32pm ...
2,463 Views
1 Replies
09-25-2017, 06:43 PM
jaynarayan
    Thread: Form validation not working
Post: Form validation not working

PHP Code: -- //controller -- PHP Code: -- //form    My Form Username Password Password Confirm Email Address -- I am following the tutorial from the docs , but the form ...
4,596 Views
2 Replies
09-10-2017, 12:46 AM
jaynarayan
  Thumbs Up Thread: how to use template parser?
Post: RE: how to use template parser?

kilishan Wrote: (09-06-2017, 08:47 PM) -- The issue with the Parser (https://github.com/bcit-ci/CodeIgniter4/issues/704) has been resolved.  You should be good now. -- Thanks :)
6,251 Views
3 Replies
09-06-2017, 11:19 PM
jaynarayan
    Thread: how to use template parser?
Post: how to use template parser?

I am following the docs but get white blank page. following is my code PHP Code: --
6,251 Views
3 Replies
09-06-2017, 05:48 AM
jaynarayan
    Thread: unable to update record
Post: RE: unable to update record

Replace $roll_no = $this->uri->segment('3'); to $roll_no = $this->uri->segment(3); 3 without single quotes
21,973 Views
13 Replies
07-30-2016, 10:36 AM
jaynarayan
    Thread: [solved] need help to write routes
Post: RE: need help to write routes

solution: PHP Code: -- $route['admin/users(.*)'] = 'users/admin$1'; --
2,473 Views
1 Replies
07-27-2016, 01:25 AM
jaynarayan
  Exclamation Thread: [solved] need help to write routes
Post: [solved] need help to write routes

hi, i am using ci3 with wiredsign's hmvc. i have the users modules with two controllers 1) public_user 2)admin_user these are the  routes PHP Code: -- $route['admin/users'] = 'users/admin'...
2,473 Views
1 Replies
07-26-2016, 10:24 PM
jaynarayan
    Thread: __construct my bad code with Ion Auth
Post: RE: __construct my bad code with Ion Auth

Sarog Wrote: (07-19-2016, 04:20 PM) -- I'm sorry. for understanding how it works, I took only some functions in Ion Auth/ I don't see MY_Controller -- use MY_Controller as the base class and exten...
7,039 Views
5 Replies
07-19-2016, 10:59 PM
jaynarayan
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

Call-Me-Captain Wrote: (07-19-2016, 04:39 AM) -- @InsiteFX Thanks for your answer! (Basically, my AJAX methods will return "incomplete" html, without header and footer etc, or even just JSON, so I d...
21,314 Views
18 Replies
07-19-2016, 12:20 PM
jaynarayan
    Thread: why all queries fire twice?
Post: RE: why all queries fire twice?

InsiteFX Wrote: (07-16-2016, 01:16 PM) -- You need to create your own model extending his MY_Model once you load your extended model all of his methods should work. -- yes i am . check the updated...
5,889 Views
5 Replies
07-17-2016, 02:45 AM
jaynarayan
    Thread: why all queries fire twice?
Post: RE: why all queries fire twice?

InsiteFX Wrote: (07-16-2016, 04:20 AM) -- Your showing the Controller code, show the Model code. -- my_model  is jemie rumbelow's base model.
5,889 Views
5 Replies
07-16-2016, 06:52 AM
jaynarayan
  Question Thread: why all queries fire twice?
Post: why all queries fire twice?

why all queries fire twice? i am using jamie rumbelow's MY_model as base model. see the attachment  this is my controllers index method: PHP Code: -- public function index($page = 0)     { ...
5,889 Views
5 Replies
07-16-2016, 01:32 AM
jaynarayan
    Thread: how to properly structure controllers in HMVC
Post: RE: how to properly structure controllers in HMVC

InsiteFX Wrote: (06-29-2016, 05:53 PM) -- modules -- admin ---- users ---- products ---- orders -- public ---- users ---- products ---- orders -- auth ---- users ---- products ---- orders...
6,479 Views
4 Replies
07-05-2016, 11:27 PM
jaynarayan
    Thread: controller calling controller
Post: controller calling controller

Calling controller from another controller causes problem some times in ci3 because of its singleton architecture. Is it safe in ci4?  Which  design patterns now ci4 use instead of singleton?
3,609 Views
1 Replies
07-02-2016, 08:39 AM
jaynarayan
  Lightbulb Thread: how to properly structure controllers in HMVC
Post: how to properly structure controllers in HMVC

HI , this is my first  project using hmvc. i am confused how to organize modules. my site have admin area , authenticated area and public area. in mvc i  would do it this way controllers --admin ...
6,479 Views
4 Replies
06-29-2016, 01:09 AM
jaynarayan

Theme © iAndrew 2016 - Forum software by © MyBB