parent = $parent; if (version_compare(PHP_VERSION, '5.3.6', '<')) { $this->loadLanguage(); Jerror::raiseWarning(null, JText::sprintf('COM_JEDCHECKER_PHP_VERSION_INCOMPATIBLE', PHP_VERSION, '5.3.6')); return false; } } public function loadLanguage() { $extension = $this->extension; $jlang =& JFactory::getLanguage(); $path = $this->parent->getParent()->getPath('source') . '/administrator'; $jlang->load($extension, $path, 'en-GB', true); $jlang->load($extension, $path, $jlang->getDefault(), true); $jlang->load($extension, $path, null, true); $jlang->load($extension . '.sys', $path, 'en-GB', true); $jlang->load($extension . '.sys', $path, $jlang->getDefault(), true); $jlang->load($extension . '.sys', $path, null, true); } }