MCQs > IT & Programming > Joomla > 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?


Joomla MCQs

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?


Answer

Correct Answer: 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.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Joomla Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Joomla Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it