In Joomla,
View stands for component views.
A component have multiple views like Joomla default component com_users have different views
registration,profile etc
Task means the function inside your controller file.
like here
index.php?option=com_users&task=registration.register
registration
controller have a function name with register
In the view
index.php?option=com_test2&view=test2
means component com_test2
have a view folder with test2
In other way you can access the register
function inside your controller is by using hidden fields. If you have a form to submit then something like.
<input type="hidden" name="option" value="com_users"/>
<input type="hidden" name="controller" value="registration"/>
<input type="hidden" name="task" value="register"/>
You will get more details about Joomla component structure from here
Hope its helps..
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…