minimumPhp, '<')) { Log::add( 'MokoSuiteStoreLocator requires PHP ' . $this->minimumPhp . ' or later.', Log::WARNING, 'jerror' ); return false; } if (version_compare(JVERSION, $this->minimumJoomla, '<')) { Log::add( 'MokoSuiteStoreLocator requires Joomla ' . $this->minimumJoomla . ' or later.', Log::WARNING, 'jerror' ); return false; } return true; } /** * Called on installation. * * @param InstallerAdapter $parent The parent installer object. * * @return boolean True on success. * * @since 1.0.0 */ public function install(InstallerAdapter $parent): bool { return true; } /** * Called on update. * * @param InstallerAdapter $parent The parent installer object. * * @return boolean True on success. * * @since 1.0.0 */ public function update(InstallerAdapter $parent): bool { return true; } /** * Called on uninstallation. * * @param InstallerAdapter $parent The parent installer object. * * @return boolean True on success. * * @since 1.0.0 */ public function uninstall(InstallerAdapter $parent): bool { return true; } /** * Called after any type of action. * * @param string $type Installation type. * @param InstallerAdapter $parent The parent installer object. * * @return boolean True on success. * * @since 1.0.0 */ public function postflight(string $type, InstallerAdapter $parent): bool { return true; } }