Source for file Collection.php
Documentation is available at Collection.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: * SPL ArrayObject customization.
- 29: *
- 33: */
- 35: {
- 47: /**
- 51: */
- 53: {
- 59: }
- 63: }
- 64: }
- 68: /**
- 69: * Prevent any more modifications.
- 71: */
- 73: {
- 75: }
- 79: /**
- 80: * Appends the specified element to the end of this collection.
- 84: */
- 86: {
- 89: }
- 93: /**
- 94: * Removes the first occurrence of the specified element.
- 98: */
- 100: {
- 108: }
- 109: }
- 113: /**
- 114: * Returns the index of the first occurrence of the specified element,.
- 115: * or FALSE if this collection does not contain this element.
- 118: */
- 120: {
- 122: }
- 126: /**
- 127: * Removes all of the elements from this collection.
- 130: */
- 132: {
- 135: }
- 139: /**
- 140: * Returns true if this collection contains the specified item.
- 143: */
- 145: {
- 147: }
- 151: /**
- 152: * Import from array or any traversable object.
- 156: */
- 158: {
- 161: }
- 166: }
- 167: }
- 171: /**
- 172: * Returns a value indicating whether collection is read-only.
- 174: */
- 176: {
- 178: }
- 182: /********************* internal notifications ****************d*g**/
- 186: /**
- 187: * Responds when the item is about to be added to the collection.
- 191: */
- 193: {
- 196: }
- 202: }
- 207: }
- 208: }
- 209: }
- 210: }
- 214: /**
- 215: * Responds when an item is about to be removed from the collection.
- 218: */
- 220: {
- 223: }
- 224: }
- 228: /********************* ArrayObject cooperation ****************d*g**/
- 232: /**
- 233: * Returns the iterator.
- 235: */
- 237: {
- 239: }
- 243: /**
- 244: * Not supported. Use import().
- 245: */
- 247: {
- 249: }
- 253: /**
- 254: * Protected exchangeArray().
- 257: */
- 259: {
- 261: }
- 265: /********************* Nette\Object behaviour ****************d*g**/
- 269: /**
- 270: * Returns the name of the class of this object.
- 271: *
- 273: */
- 275: {
- 277: }
- 281: /**
- 282: * Call to undefined method.
- 283: *
- 285: */
- 287: {
- 289: }
- 293: /**
- 294: * Call to undefined static method.
- 295: *
- 297: */
- 299: {
- 302: }
- 306: /**
- 307: * Returns property value. Do not call directly.
- 308: *
- 310: */
- 312: {
- 314: }
- 318: /**
- 319: * Sets value of a property. Do not call directly.
- 320: *
- 322: */
- 324: {
- 326: }
- 330: /**
- 331: * Is property defined?
- 332: *
- 335: */
- 337: {
- 339: }
- 343: /**
- 344: * Access to undeclared property.
- 345: *
- 347: */
- 349: {
- 351: }
- 353: }