Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Load Library and pass to view
Post: Load Library and pass to view

Hello, i make a custom library for enqueue my styles. What is the strategy to use this? Strategy 1, in controller :  Code: -- use App\Libraries\Enqueue; $css = new Enqueue(); $css->load($ar...
341 Views
0 Replies
01-10-2021, 01:48 AM
bystefu
    Thread: Strange situation Helper
Post: Strange situation Helper

Hello, i  make two helpers. Css_helper and Array_helper. In my controller, i call Css_helper  PHP Code: --     function __construct()     {         helper('Css');         $this->css = enqu...
819 Views
1 Replies
01-04-2021, 12:17 PM
bystefu
    Thread: My first login in CI, after couple hours
Post: RE: My first login in CI, after couple hours

Thank u very much.I will fix this problem , and for now i want to know if the logic is good,i mean functions is in the right place (controller, model ), because i don't want to start with bad idea.
2,124 Views
3 Replies
01-05-2020, 04:50 AM
bystefu
  Exclamation Thread: My first login in CI, after couple hours
Post: My first login in CI, after couple hours

Hello, after i read a lot of articles about CI, finally think i ended (partial) my login method. I don't know if the logic is good, or maybe is another correct way to do that. This is my controlle...
2,124 Views
3 Replies
01-04-2020, 12:45 PM
bystefu
    Thread: Understanding routes
Post: Understanding routes

Hello, i'm new in CI and i just started my app.My question is about routes, if i have : PHP Code: -- $route['something/(:any)'] = 'Login/test/$1'; -- And if i request 'something' without anythin...
883 Views
1 Replies
01-04-2020, 04:15 AM
bystefu
    Thread: Controller (from model to view)
Post: Controller (from model to view)

Hello, i'm new in CI , and i don't understand something.I have  a model like PHP Code: -- class Contact_model extends CI_Model {  public function start()  {     $query = $this->db->get('util...
1,812 Views
1 Replies
04-04-2018, 11:30 AM
bystefu

Theme © iAndrew 2016 - Forum software by © MyBB