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: {
- 256: }
- 260: /********************* Nette\Object behaviour ****************d*g**/
- 264: /**
- 265: * Returns the name of the class of this object.
- 266: *
- 268: */
- 270: {
- 272: }
- 276: /**
- 277: * Call to undefined method.
- 278: *
- 280: */
- 282: {
- 284: }
- 288: /**
- 289: * Call to undefined static method.
- 290: *
- 292: */
- 294: {
- 297: }
- 301: /**
- 302: * Returns property value. Do not call directly.
- 303: *
- 305: */
- 307: {
- 309: }
- 313: /**
- 314: * Sets value of a property. Do not call directly.
- 315: *
- 317: */
- 319: {
- 321: }
- 325: /**
- 326: * Is property defined?
- 327: *
- 330: */
- 332: {
- 334: }
- 338: /**
- 339: * Access to undeclared property.
- 340: *
- 342: */
- 344: {
- 346: }
- 350: /********************* Nette\FreezableObject behaviour ****************d*g**/
- 354: /**
- 355: * Makes the object unmodifiable.
- 357: */
- 359: {
- 361: }
- 365: /**
- 366: * Is the object unmodifiable?
- 368: */
- 370: {
- 372: }
- 376: /**
- 377: * Creates a modifiable clone of the object.
- 379: */
- 381: {
- 383: }
- 387: /**
- 389: */
- 391: {
- 395: }
- 396: }
- 398: }