Form Controller

It is a method to load item to edit associations in com_associations.

  • return void
public function editAssociations()
{
// Initialise variables.
$app = \JFactory::getApplication();
$input = $app->input;
$model = $this->getModel();

$data = $input->get('jform', array(), 'array');
$model->editAssociations($data);
}