Converted 'this' to a static joomla class call