Hi, I have 3 controller files, the controller.php on the component root, and then the xxxforms.php and xxxformsitem.php on the controller directory. (everything on the frontend)
I want to execute a task that contain the following code:
$get = JRequest::get('get');
$model = $this->getModel('xxxformsitem');
$item = $model->setId($get);
$item = $model->getItem();
...
if i place this task on the controller.php file says that the setId item is not found, if i place on the xxxformsitem.php (i think it should be located here), the task is not executed, i do not know how to indicate the controller to be read.
any idea?
thanks in advance