Search code examples
phphtmlcodeignitermvp

Set value from CI presenter


I am making forms with the ci-presenter library and I would like to use set_value() function. How can I use it from the presenter.

I need to set value on an input and on a textarea field.

Could I possibly put something on the view considering that all the form information is on the presenter.


Solution

  • I put the set_value() function as a parameter to the presenter call.