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 http://nettephp.com
- 12: *
- 18: */
- 26: /**
- 27: * Configuration storage.
- 28: *
- 32: */
- 34: {
- 35: /**#@+ flag */
- 38: /**#@-*/
- 48: /**
- 49: * Registers adapter for given file extension.
- 53: */
- 55: {
- 58: }
- 62: throw new InvalidArgumentException("Configuration adapter '$class' is not Nette\\Config\\IConfigAdapter implementor.");
- 63: }
- 66: }
- 70: /**
- 71: * Creates new configuration object from file.
- 76: */
- 78: {
- 86: }
- 87: }
- 91: /**
- 94: */
- 96: {
- 102: }
- 106: }
- 107: }
- 108: }
- 112: /**
- 113: * Save configuration to file.
- 117: */
- 119: {
- 126: }
- 127: }
- 131: /********************* data access ****************d*g**/
- 135: /**
- 136: * Expand all variables.
- 138: */
- 140: {
- 149: }
- 150: }
- 152: }
- 156: /**
- 157: * Import from array or any traversable object.
- 161: */
- 163: {
- 170: }
- 171: }
- 173: }
- 177: /**
- 178: * Returns an array containing all of the elements in this collection.
- 180: */
- 182: {
- 187: }
- 188: }
- 190: }
- 194: /**
- 195: * Makes the object unmodifiable.
- 197: */
- 199: {
- 204: }
- 205: }
- 206: }
- 210: /**
- 211: * Creates a modifiable clone of the object.
- 213: */
- 215: {
- 221: }
- 222: }
- 224: }
- 228: /********************* data access via overloading ****************d*g**/
- 232: /**
- 233: * Returns item. Do not call directly.
- 236: */
- 238: {
- 241: }
- 245: /**
- 246: * Inserts (replaces) item. Do not call directly.
- 250: */
- 252: {
- 254: }
- 258: /**
- 259: * Exists item?
- 262: */
- 264: {
- 266: }
- 270: /**
- 271: * Removes the element at the specified position in this list.
- 274: */
- 276: {
- 278: }
- 280: }