![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 361 Pomógł: 10 Dołączył: 8.02.2012 Ostrzeżenie: (0%) ![]() ![]() |
Witam
mam trywialne pytanie. W codeigniter mamy podział na Helper Reference i Class Reference Dla mnie to wszystko jeden worek ale mimo to dostały oddzielne kategorie czy ktoś z tu obecnych uchyli mi rąbka tajemnicy i powie dlaczego oni je rozdzielili czym się różnią te typy? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 590 Pomógł: 107 Dołączył: 25.10.2011 Ostrzeżenie: (0%) ![]() ![]() |
1. http://codeigniter.com/user_guide/general/helpers.html:
"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." (to jest w drugim akapicie) 2. http://stackoverflow.com/questions/804399/...ate-new-helper: "A CodeIgniter helper is a PHP file with multiple methods. It is not a class" |
|
|
![]() ![]() |
![]() |
Aktualny czas: 5.10.2025 - 18:31 |