67 $this->container = $fullCont;
69 if ( substr( $this->dir, -1 ) ===
'/' ) {
70 $this->dir = substr( $this->dir, 0, -1 );
72 if ( $this->dir ==
'' ) {
73 $this->suffixStart = 0;
75 $this->suffixStart = strlen( $this->dir ) + 1;
84 public function key() {
93 next( $this->bufferIter );
97 if ( !$this->
valid() && count( $this->bufferIter ) ) {
99 $this->container, $this->dir, $this->bufferAfter, self::PAGE_SIZE, $this->params
109 $this->bufferAfter =
null;
112 $this->container, $this->dir, $this->bufferAfter, self::PAGE_SIZE, $this->params
121 if ( $this->bufferIter ===
null ) {
124 return ( current( $this->bufferIter ) !==
false );