Lines Matching refs:this
45 $this->callback = $callback;
46 $this->mode = $mode;
47 $this->flags = $flags;
55 $this->key = parent::key();
56 $this->current = parent::current();
58 switch($this->mode) {
65 if($this->flags & self::REPLACE) {
66 return (bool) call_user_func($this->callback, &$this->current);
68 return (bool) call_user_func($this->callback, $this->current);
71 if($this->flags & self::REPLACE) {
72 return (bool) call_user_func($this->callback, &$this->key);
74 return (bool) call_user_func($this->callback, $this->key);
77 if($this->flags & self::REPLACE) {
78 return (bool) call_user_func($this->callback, &$this->key, &$this->current);
80 return (bool) call_user_func($this->callback, $this->key, $this->current);
88 return $this->key;
94 return $this->current;
100 return $this->mode;
106 $this->mode = $mode;
112 return $this->flags;
118 $this->flags = $flags;