/** * Installer function * @return */ function com_install() { if (!defined('JPATH_PLATFORM')) { $installer = JInstaller::getInstance(); return WFInstall::install($installer); } return true; }
public function install($parent) { if (!class_exists('WFInstall')) { require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_jce' . DS . 'install.php'; } $installer = method_exists($parent, 'getParent') ? $parent->getParent() : $parent->parent; return WFInstall::install($installer); }
public function install($parent) { require_once JPATH_ADMINISTRATOR . '/components/com_jce/install.php'; $installer = method_exists($parent, 'getParent') ? $parent->getParent() : $parent->parent; return WFInstall::install($installer); }
/** * Installer function. * * @return */ public function com_install() { if (!defined('JPATH_PLATFORM')) { require_once JPATH_ADMINISTRATOR . '/components/com_jce/install.php'; $installer = JInstaller::getInstance(); return WFInstall::install($installer); } return true; }