Welcome Guest, Not a member yet? Register   Sign In
An easy way to execute a method from the view ..
#8

[eluser]wiredesignz[/eluser]
This is terrible code, both the library and the helper methods are acting as Models and the Library is also creating HTML.

Firstly a View can access a Model directly, CI even assigns loaded Libraries and Models to the view loader for you.

You should both really rethink your application design.


Messages In This Thread
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 05:33 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 05:45 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 05:55 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:00 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:05 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:16 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:26 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:40 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:50 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:58 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:19 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:24 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:35 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:39 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:44 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:54 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 08:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB