Welcome Guest, Not a member yet? Register   Sign In
Helper file function or view
#1

[eluser]xtremer360[/eluser]
I have a standard HTML table that displays information about all users. The last column in the table displays button actions that can be used for the user. This is a column that gets repeated over several different tables of data so I am interested in knowing is this something I should use a helper for or should I make a view out of this column?



#2

[eluser]Otemu[/eluser]
Hi,

I think either really, depends on your preference, some people don't like to use views for a small amount of information such as just a single column, some don't like to use helpers just to output markup.

I would say don't waste to much time thinking about it over such a small thing which will hardly make much difference to which ever method you choose.




Theme © iAndrew 2016 - Forum software by © MyBB