Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,i start to study doc laravel and joomla framework,
they uses a term helper function.
my question is what means helper function;

thanks for attention

What I have tried:

i searched not finding good guide.
Posted
Updated 22-Mar-16 20:19pm
v2
Comments
Sergey Alexandrovich Kryukov 18-Mar-16 19:32pm    
Probably you did not find a good explanation because the term is self-explanatory. Such function is a small facility which does not provide any complete functionality as it would do in OOP approach; it just helps to solve a number of problems... In OOP, a typical helper function is static (class function), not an instance function...
—SA
stackprogramer 19-Mar-16 0:48am    
please same sentence send as answer till i accept it
stackprogramer 19-Mar-16 1:10am    
thanks this is another answer
In your view scripts, often it is necessary to perform certain complex functions over and over: e.g., formatting a date, generating form elements, or displaying action links. You can use helper, or plugin, classes to perform these behaviors for you.

1 solution

In your view scripts, often it is necessary to perform certain complex functions over and over: e.g., formatting a date, generating form elements, or displaying action links. You can use helper, or plugin, classes to perform these behaviors for you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900