Codeigniter Helpers | Autoload helpers in Codeigniter | Codeigniter tutorial in hindi | by Prashant

Publicado em: 01 Junho 2021
no canal de: Code With Prashant
677
27

In this video we talked about how you can add helpers in Codeigniter and how you can autoload them via autoload.php .
Helpers, as the name suggests, help you with tasks. Each helper file is simply a collection of functions in a particular category. There are URL Helpers, that assist in creating links, there are Form Helpers that help you create form elements, Text Helpers perform various text formatting routines, Cookie Helpers set and read cookies, File Helpers help you deal with files, etc.

Unlike most other systems in Codeigniter, Helpers are not written in an Object Oriented format. They are simple, procedural functions. Each helper function performs one specific task, with no dependence on other functions.

Codeigniter does not load Helper Files by default, so the first step in using a Helper is to load it. Once loaded, it becomes globally available in your controller and views.

Helpers are typically stored in your system/helpers, or application/helpers directory. Codeigniter will look first in your application/helpers directory. If the directory does not exist or the specified helper is not located there CI will instead look in your global system/helpers/ directory.
If you like this video please subscribe our channel https://bit.ly/2Tzsoi3


Nesta página do site você pode assistir ao vídeo on-line Codeigniter Helpers | Autoload helpers in Codeigniter | Codeigniter tutorial in hindi | by Prashant duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code With Prashant 01 Junho 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 677 vezes e gostou 27 espectadores. Boa visualização!