I've made a component and in the controller done:
Code: Select all
$model =& $this->getModel();
$sector = "User-input-here";
$model->setSector($sector);
Code: Select all
$model =& $this->getModel();
echo $model->getSector();
Is this the correct way to handle userinput?
Thanks for any help!