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 http://nettephp.com
- 12: *
- 18: */
- 26: /**
- 27: * SPL ArrayObject customization.
- 28: *
- 32: *
- 34: */
- 36: {
- 48: /**
- 52: */
- 54: {
- 60: }
- 64: }
- 65: }
- 69: /**
- 70: * Appends the specified element to the end of this collection.
- 74: */
- 76: {
- 79: }
- 83: /**
- 84: * Removes the first occurrence of the specified element.
- 88: */
- 90: {
- 98: }
- 99: }
- 103: /**
- 104: * Returns the index of the first occurrence of the specified element,.
- 105: * or FALSE if this collection does not contain this element.
- 108: */
- 110: {
- 112: }
- 116: /**
- 117: * Removes all of the elements from this collection.
- 120: */
- 122: {
- 125: }
- 129: /**
- 130: * Returns true if this collection contains the specified item.
- 133: */
- 135: {
- 137: }
- 141: /**
- 142: * Import from array or any traversable object.
- 146: */
- 148: {
- 151: }
- 156: }
- 157: }
- 161: /**
- 162: * Returns the item type.
- 164: */
- 166: {
- 168: }
- 172: /**
- 174: */
- 176: {
- 178: }
- 182: /**
- 184: */
- 186: {
- 188: }
- 192: /********************* internal notifications ****************d*g**/
- 196: /**
- 197: * Responds when the item is about to be added to the collection.
- 201: */
- 203: {
- 210: }
- 215: }
- 216: }
- 217: }
- 218: }
- 222: /********************* ArrayObject cooperation ****************d*g**/
- 226: /**
- 227: * Returns the iterator.
- 229: */
- 231: {
- 233: }
- 237: /**
- 238: * Not supported. Use import().
- 239: */
- 241: {
- 243: }
- 247: /**
- 248: * Protected exchangeArray().
- 251: */
- 253: {
- 255: }
- 259: /********************* Nette\Object behaviour ****************d*g**/
- 263: /**
- 264: * Returns the name of the class of this object.
- 265: *
- 267: */
- 269: {
- 271: }
- 275: /**
- 276: * Call to undefined method.
- 277: *
- 279: */
- 281: {
- 283: }
- 287: /**
- 288: * Call to undefined static method.
- 289: *
- 291: */
- 293: {
- 296: }
- 300: /**
- 301: * Returns property value. Do not call directly.
- 302: *
- 304: */
- 306: {
- 308: }
- 312: /**
- 313: * Sets value of a property. Do not call directly.
- 314: *
- 316: */
- 318: {
- 320: }
- 324: /**
- 325: * Is property defined?
- 326: *
- 329: */
- 331: {
- 333: }
- 337: /**
- 338: * Access to undeclared property.
- 339: *
- 341: */
- 343: {
- 345: }
- 349: /********************* Nette\FreezableObject behaviour ****************d*g**/
- 353: /**
- 354: * Makes the object unmodifiable.
- 356: */
- 358: {
- 360: }
- 364: /**
- 365: * Is the object unmodifiable?
- 367: */
- 369: {
- 371: }
- 375: /**
- 376: * Creates a modifiable clone of the object.
- 378: */
- 380: {
- 382: }
- 386: /**
- 388: */
- 390: {
- 394: }
- 395: }
- 397: }