Source for file Config.php
Documentation is available at Config.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 27: /**
- 28: * Configuration storage.
- 29: *
- 33: */
- 35: {
- 36: /**#@+ flag */
- 39: /**#@-*/
- 49: /**
- 50: * Registers adapter for given file extension.
- 54: */
- 56: {
- 59: }
- 63: throw new InvalidArgumentException("Configuration adapter '$class' is not Nette\\Config\\IConfigAdapter implementor.");
- 64: }
- 67: }
- 71: /**
- 72: * Creates new configuration object from file.
- 77: */
- 79: {
- 87: }
- 88: }
- 92: /**
- 95: */
- 97: {
- 103: }
- 107: }
- 108: }
- 109: }
- 113: /**
- 114: * Save configuration to file.
- 118: */
- 120: {
- 127: }
- 128: }
- 132: /********************* data access ****************d*g**/
- 136: /**
- 137: * Expand all variables.
- 139: */
- 141: {
- 144: }
- 152: }
- 153: }
- 155: }
- 159: /**
- 160: * Import from array or any traversable object.
- 164: */
- 166: {
- 169: }
- 176: }
- 177: }
- 179: }
- 183: /**
- 184: * Returns an array containing all of the elements in this collection.
- 186: */
- 188: {
- 193: }
- 194: }
- 196: }
- 200: /********************* data access via overloading ****************d*g**/
- 204: /**
- 205: * Returns item. Do not call directly.
- 208: */
- 210: {
- 213: }
- 217: /**
- 218: * Inserts (replaces) item. Do not call directly.
- 222: */
- 224: {
- 226: }
- 230: /**
- 231: * Exists item?
- 234: */
- 236: {
- 238: }
- 242: /**
- 243: * Removes the element at the specified position in this list.
- 246: */
- 248: {
- 250: }
- 252: }