protected function findSettingItem($author, $plugin, $code)
    {
        $manager = SettingsManager::instance();

        $moduleOwner = $author;
        $moduleCode = $plugin;
        $item = $manager->findSettingItem($moduleOwner, $moduleCode);

        if (!$item) {
            $pluginOwner = $author . '.' . $plugin;
            $pluginCode = $code;
            $item = $manager->findSettingItem($pluginOwner, $pluginCode);
        }

        return $item;
    }
protected function findSettingItem($author, $plugin, $code)
    {
        $manager = SettingsManager::instance();

        $moduleOwner = $author;
        $moduleCode = $plugin;
        $item = $manager->findSettingItem($moduleOwner, $moduleCode);

        if (!$item) {
            $pluginOwner = $author . '.' . $plugin;
            $pluginCode = $code;
            $item = $manager->findSettingItem($pluginOwner, $pluginCode);
        }

        return $item;
    }
protected function findSettingItem ( $ author , $ plugin , $ code ) { $ manager = SettingsManager :: instance ( ) ; $ moduleOwner = $ author ; $ moduleCode = $ plugin ; $ item = $ manager -> findSettingItem ( $ moduleOwner , $ moduleCode ) ; if ( ! $ item ) { $ pluginOwner = $ author . '.' . $ plugin ; $ pluginCode = $ code ; $ item = $ manager -> findSettingItem ( $ pluginOwner , $ pluginCode ) ; } return $ item ; }
Locates a setting item for a module or plugin
Locates a setting item for a module or plugin