- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Example:jimport( 'joomla.application.module.helper' );

$module = JModuleHelper::getModule( 'mainmenu', 'Key Concepts' );
$attribs = array('style'=>'xhtml');
echo JModuleHelper::renderModule( $module, $attribs );
What is the purpose of the $attribs array?

1.The $attribs array is passed in its entirety to the module chrome code since this method will generally be called during the processing of a <jdoc:include.../> tag in the template.

2.The $attribs array is used to assign a module to a position.<br>

3.both (a) and (b)

4.None of these

Posted Date:-2022-10-12 11:23:46


More MCQS Questions and answers

Search