2014
11-07
11-07
PHP基础之预定义接口3——IteratorAggregate接口
创建外部迭代器的接口。接口摘要IteratorAggregateextendsTraversable{/*方法*/abstractpublicTraversablegetIterator(void)}Example#1基本用法<?phpclassmyDataimplementsIteratorAggregate{public$property1="Publicpropertyone";public$property2="Publicpropertytwo";public$property3="Publicpropertythree";publicfunction__cons...
继续阅读 >