view stands for component view in joomla any component have multiple views for e.g default component. like- com_users have multiple views(register,profile) inside user component. so we can call any view using below url.
index.php?option=com_mycomponent&view=myview
It means mycomponent is component which contains view folder name as myview.
Task is a function which defines inside the controller file of any component.we can call any task using below url.
index.php?option=com_mycomponent&task=mycontroller.myfunction
Means myfunction is define inside mycontroller file.We can also access the function inside controller is by using hidden fields.
<input name="option" value="com_mycomponent" type="hidden">
<input name="controller" value="mycontroller" type="hidden">
<input name="task" value="myfunction" type="hidden">
0 Comment(s)