-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>JSDoc: Tutorial: global_scope</title> | ||
|
||
<script src="scripts/prettify/prettify.js"> </script> | ||
<script src="scripts/prettify/lang-css.js"> </script> | ||
<!--[if lt IE 9]> | ||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> | ||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<div id="main"> | ||
|
||
<h1 class="page-title">Tutorial: global_scope</h1> | ||
|
||
<section> | ||
|
||
<header> | ||
|
||
|
||
<h2>global_scope</h2> | ||
</header> | ||
|
||
<article> | ||
<p>The Object Manager has an option to session persistent in the global scope. This is useful, if you have | ||
different locations, which cannot be resolved properly by the object manager (e.g. abstract parent classes)</p> | ||
<p>When you enable the option "globalScope" in the options on instantiating the objectmanager, the Objectmanager | ||
will create an object _cdi in the global scope, which will be reused on other instantiations of the | ||
Objectmanager. </p> | ||
<p>Have in mind, that you should not rely on global vars, since it is a sign, | ||
that you could optimize your code. But cdi gives you this possibility, if you have no other way to go. </p> | ||
</article> | ||
|
||
</section> | ||
|
||
</div> | ||
|
||
<nav> | ||
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbstractInstantiator.html">AbstractInstantiator</a></li><li><a href="ConfigResolver.html">ConfigResolver</a></li><li><a href="DependencyTree.html">DependencyTree</a></li><li><a href="ModuleAnalyzer.html">ModuleAnalyzer</a></li><li><a href="ModuleResolver.html">ModuleResolver</a></li><li><a href="ObjectManager.html">ObjectManager</a></li><li><a href="Prototype.html">Prototype</a></li><li><a href="Singleton.html">Singleton</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-cache.html">cache</a></li><li><a href="tutorial-dependency_trees.html">dependency_trees</a></li><li><a href="tutorial-global_scope.html">global_scope</a></li><li><a href="tutorial-injection.html">injection</a></li><li><a href="tutorial-instantiator.html">instantiator</a></li><li><a href="tutorial-module_structure.html">module_structure</a></li></ul> | ||
</nav> | ||
|
||
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> | ||
</footer> | ||
|
||
<script> prettyPrint(); </script> | ||
<script src="scripts/linenumber.js"> </script> | ||
</body> | ||
</html> |