MCQs > IT & Programming > Joomla > What does the following code section do? $user =& JFactory::getUser(); if ($user->authorize('com_content', 'edit', 'content', 'all')) { //Display notice } else { //Display notice }

Joomla MCQs

What does the following code section do?

$user =& JFactory::getUser();

if ($user->authorize('com_content', 'edit', 'content', 'all'))

{

//Display notice

} else {

//Display notice

}

Answer

Correct Answer: Check user's permission to edit all articles.

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