Public modified before function definition; Joomla! code compliance