original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Locates a setting item for a module or plugin
docstring_tokens: Locates a setting item for a module or plugin