Loads the additional resources
174562
function load_resources() {
		add_thickbox();

		$id = $this->product->get_key() . '_deactivate';

		$this->add_css( $this->product->get_type(), $this->product->get_key() );
		$this->add_js( $this->product->get_type(), $this->product->get_key(), '#TB_inline?' . apply_filters( $this->product->get_key() . '_feedback_deactivate_attributes', 'width=600&height=550' ) . '&inlineId=' . $id );

		echo '<div id="' . $id . '" style="display:none;" class="themeisle-deactivate-box">' . $this->get_html( $this->product->get_type(), $this->product->get_key() ) . '</div>';
	}
271887
def _resources(p):
    """"""
    if p.resources:
        click.echo(",".join(p.resources))
    else:
        click.echo(f"Provider '{p.name}' does not have resource helpers")
97271
private function loadResources()
    {
        if ($this->class !== null && $this->classFilterSet === false) {
            $this->addClassFilter();
        }

        /** @var common_persistence_SqlPersistence $persistence */
        $persistence = $this->getModel()->getPersistence();
        $platform = $persistence->getPlatForm();
        $query = $platform->getQueryBuilder()
            ->select('*')
            ->from('statements')
            ->andWhere('id > ' . $this->lastId)
            ->orderBy('id');

        if ($this->cacheSize > 0) {
            $query->setMaxResults($this->cacheSize);
        }

        $query = $this->filter->applyFilters($query);
        $results = $query->execute();

        if ($this->cacheSize > 0) {
            $this->endOfClass = $results->rowCount() < $this->cacheSize;
        }

        foreach ($results->fetchAll() as $result) {
            $this->resources[] = $result;
            $this->lastId = $result['id'] > $this->lastId ? $result['id'] : $this->lastId;
        }
    }
930304
public void load() {
        Stopwatchs.start("Load Plugins");

        classLoaders.clear();

        final ServletContext servletContext = AbstractServletListener.getServletContext();
        final Set<String> pluginDirPaths = servletContext.getResourcePaths("/plugins");

        final List<AbstractPlugin> plugins = new ArrayList<>();

        if (null != pluginDirPaths) {
            for (final String pluginDirPath : pluginDirPaths) {
                try {
                    LOGGER.log(Level.INFO, "Loading plugin under directory[{0}]", pluginDirPath);

                    final AbstractPlugin plugin = load(pluginDirPath, pluginCache);

                    if (plugin != null) {
                        plugins.add(plugin);
                    }
                } catch (final Exception e) {
                    LOGGER.log(Level.WARN, "Load plugin under directory[" + pluginDirPath + "] failed", e);
                }
            }
        }

        eventManager.fireEventSynchronously(new Event<>(PLUGIN_LOADED_EVENT, plugins));

        Stopwatchs.end();
    }
1290939
def load(self):
        
        self.inventory = SDBInventory(self.usr)
        self.forms = self.inventory.forms
478132
private void load() {
    Iterator iterator = loaders.iterator();
    while (iterator.hasNext()) {
      MacroLoader loader = (MacroLoader) iterator.next();
      loader.setRepository(this);
      log.debug("Loading from: " + loader.getClass());
      loader.loadPlugins(this);
    }
  }
349486
private function load(): void
	{
		// Skip if it's already loaded
		if ($this->state === self::STATE_LOADED) return;

		// Attach parameters (only if we have some)
		if ($this->parameters !== []) {
			// Attach parameters to form
			$this['parametersForm']->setDefaults($this->parameters);

			// Attach parameters to subreport
			$this->subreport->attach($this->parameters);
		}

		// Compile (fetch data)
		$this->subreport->compile();

		// Preprocess (only if it is not already)
		if (!$this->subreport->isState(Subreport::STATE_PREPROCESSED)) {
			$this->subreport->preprocess();
		}

		// Change inner state
		$this->state = self::STATE_LOADED;
	}
1371706
def _loadSources(self):
        
        self.confstems = {}
        self.sourceDict = newtrigdict.Trigdict()
        for fName in self.authorityFiles:
            self._loadOneSource(fName)
        # We want to allow naked bibstems in references, too
        for stem in self.sourceDict.values():
            cleanStem = stem.replace(".", "").upper()
            self._addPub(stem, cleanStem)
599649
private void loadMoreData() {
        isLoading = true;
        Util.getClient()
                .getCloudItemsAsync(sourceId, currentPath, nextTokens.get(currentPath))
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(this);
    }
1154188
@SuppressWarnings("checkstyle:emptyblock")
	private void loadTop(final String resourceName) {
		try {
			resources.push(resourceName);

			load(resourceName);

			// Now check for INCLUDE_AFTER resources
			String includes = get(INCLUDE_AFTER);

			if (includes != null) {
				// First, do substitution on the INCLUDE_AFTER
				do {
				} while (substitute(INCLUDE_AFTER));

				// Now split and process
				String[] includeAfter = getString(INCLUDE_AFTER).split(",");
				backing.remove(INCLUDE_AFTER);
				for (String after : includeAfter) {
					loadTop(after);
				}
			}
		} finally {
			resources.pop();
		}
	}
544191
def load(uri)
      asset = environment.load(uri)
      @dependencies.merge(asset.metadata[:dependencies])
      asset
    end
461748
public function loadKwcResources()
    {
        if (!Kwf_Registry::get('db')) return; //if we don't have a db configured yet skip kwc resources. required to be able to build assets without db

        if ($this->_kwcResourcesLoaded) return;
        $this->_kwcResourcesLoaded = true;

        $t = microtime(true);
        $menuConfigs = array();
        foreach (Kwc_Abstract::getComponentClasses() as $c) {
            if (Kwc_Abstract::getFlag($c, 'hasResources')) {
                Kwc_Admin::getInstance($c)->addResources($this);
            }
            if (Kwc_Abstract::hasSetting($c, 'menuConfig') && Kwc_Abstract::getSetting($c, 'menuConfig')) {
                $menuConfigs[] = Kwf_Component_Abstract_MenuConfig_Abstract::getInstance($c);
            }
        }
        usort($menuConfigs, array(get_class($this), '_compareMenuConfig'));
        foreach ($menuConfigs as $cfg) {
            $cfg->addResources($this);
        }
        Kwf_Benchmark::subCheckpoint('kwc resources', microtime(true)-$t);
    }
1165522
public <T> T loadResources(Class<T> type, String... resources) {
    return loadResources(type, Arrays.asList(resources));
  }
249751
protected function load()
    {
        if (!isset($_SESSION[$this->name])) {
            $_SESSION[$this->name] = [];
        }

        if (!isset($_SESSION[Session::FLASH_NOW][$this->name])) {
            $_SESSION[Session::FLASH_NOW][$this->name] = [];
        }

        if (!isset($_SESSION[Session::FLASH_NEXT][$this->name])) {
            $_SESSION[Session::FLASH_NEXT][$this->name] = [];
        }
    }
1039844
function loadAdditionalFiles() {
	try {
		const appRootPath = require("app-root-path").path;
		const packageJsonPath = appRootPath + path.sep + "package.json";
		const packageData = require(packageJsonPath);
		
		if (packageData && packageData.hasOwnProperty("PAI")) {
			if (packageData.PAI && packageData.PAI.hasOwnProperty("includeFiles")) {
				const additionalFiles = packageData.PAI.includeFiles;
				
				PAILogger.info("Additional files to load: " + JSON.stringify(additionalFiles));
				
				for (let i = 0; i < additionalFiles.length; i++) {
					require(appRootPath + "/" + additionalFiles[i]);
				}
			}
		}
	} catch (e) {
		PAILogger.error("error while loading includeFiles from package.json");
		PAILogger.error(e);
	}
}
936940
private function load()
    {
        foreach ($this->getPaths() as $group => $path) {
            $this->locales[$group] = $this->loadDirectories($path);
        }
    }
215222
function() {

			// skip loading includes once already loaded
			if (this._bIncludesLoaded) {
				return;
			}

			var mResources = this.getEntry("/sap.ui5/resources");

			if (!mResources) {
				return;
			}

			var sComponentName = this.getComponentName();

			// load JS files
			var aJSResources = mResources["js"];
			if (aJSResources) {
				for (var i = 0; i < aJSResources.length; i++) {
					var oJSResource = aJSResources[i];
					var sFile = oJSResource.uri;
					if (sFile) {
						// load javascript file
						var m = sFile.match(/\.js$/i);
						if (m) {
							//var sJsUrl = this.resolveUri(sFile.slice(0, m.index));
							var sJsUrl = sComponentName.replace(/\./g, '/') + (sFile.slice(0, 1) === '/' ? '' : '/') + sFile.slice(0, m.index);
							Log.info("Component \"" + sComponentName + "\" is loading JS: \"" + sJsUrl + "\"");
							// call internal sap.ui.require variant that accepts a requireJS path and loads the module synchronously
							sap.ui.requireSync(sJsUrl);
						}
					}
				}
			}

			// include CSS files
			var aCSSResources = mResources["css"];
			if (aCSSResources) {
				for (var j = 0; j < aCSSResources.length; j++) {
					var oCSSResource = aCSSResources[j];
					if (oCSSResource.uri) {
						var sCssUrl = this.resolveUri(oCSSResource.uri);
						Log.info("Component \"" + sComponentName + "\" is loading CSS: \"" + sCssUrl + "\"");
						includeStylesheet(sCssUrl, {
							id: oCSSResource.id,
							"data-sap-ui-manifest-uid": this._uid
						});
					}
				}
			}

			this._bIncludesLoaded = true;

		}