Source for file SmartCachingIterator.php
Documentation is available at SmartCachingIterator.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: */
- 22: /**
- 23: * Smarter caching interator.
- 24: *
- 28: *
- 34: */
- 36: {
- 43: {
- 55: }
- 56: }
- 60: /**
- 61: * Is the current element the first one?
- 63: */
- 65: {
- 67: }
- 71: /**
- 72: * Is the current element the last one?
- 74: */
- 76: {
- 78: }
- 82: /**
- 83: * Is the iterator empty?
- 85: */
- 87: {
- 89: }
- 93: /**
- 94: * Is the counter odd?
- 96: */
- 98: {
- 100: }
- 104: /**
- 105: * Is the counter even?
- 107: */
- 109: {
- 111: }
- 115: /**
- 116: * Returns the counter.
- 118: */
- 120: {
- 122: }
- 126: /**
- 127: * Forwards to the next element.
- 129: */
- 131: {
- 135: }
- 136: }
- 140: /**
- 141: * Rewinds the Iterator.
- 143: */
- 145: {
- 148: }
- 152: /**
- 153: * Returns the next key.
- 155: */
- 157: {
- 159: }
- 163: /**
- 164: * Returns the next element.
- 166: */
- 168: {
- 170: }
- 174: /********************* Nette\Object behaviour ****************d*g**/
- 178: /**
- 179: * Call to undefined method.
- 180: *
- 185: */
- 187: {
- 189: }
- 193: /**
- 194: * Returns property value. Do not call directly.
- 195: *
- 199: */
- 201: {
- 203: }
- 207: /**
- 208: * Sets value of a property. Do not call directly.
- 209: *
- 214: */
- 216: {
- 218: }
- 222: /**
- 223: * Is property defined?
- 224: *
- 227: */
- 229: {
- 231: }
- 235: /**
- 236: * Access to undeclared property.
- 237: *
- 241: */
- 243: {
- 246: }
- 249: }