Lines Matching refs:this
122 $this->_n = $n;
123 $this->_k = $k;
135 return $this->_current;
145 return $this->_key;
165 $this->_current = [];
166 $this->_tmp = null;
167 $this->_i = 0;
168 $this->_o = 0 === $this->_n
170 : array_fill(0, $this->_n, 0);
171 $this->_o[0] = $this->_k;
172 $this->_last = false;
184 if (true === $this->_last) {
188 if (0 === $this->_n) {
192 if ($this->_k == $this->_o[$this->_i = $this->_n - 1]) {
193 $this->_last = true;
194 $this->_current = $this->_o;
195 ++$this->_key;
200 $this->_current = $this->_o;
201 ++$this->_key;
203 $this->_tmp = $this->_o[$this->_i];
204 $this->_o[$this->_i] = 0;
206 while ($this->_o[$this->_i] == 0) {
207 --$this->_i;
210 --$this->_o[$this->_i];
211 $this->_o[$this->_i + 1] = $this->_tmp + 1;