Lines Matching refs:index
119 private $index;
125 public function __construct($list, &$data, $index) {
128 $this->index = $index;
136 return $this->index;
149 public function getData($index) {
150 return $this->data[1][$index];
156 public function getPluginData($index) {
157 return $this->data[1][1][$index];
163 public function setPluginData($index, $data) {
164 $this->data[1][1][$index] = $data;
170 public function unsetPluginData($index) {
171 unset($this->data[1][1][$index]);
199 return $this->list->getAt($this->index - 1);
206 return $this->list->insert($this->index, $call);
213 return $this->list->insert($this->index + 1, $call);
221 private $index;
229 $this->index = 0;
237 $this->index = 0;
244 return new refnotes_instruction_reference($this, $this->event->data->calls[$this->index], $this->index);
251 return $this->index;
258 ++$this->index;
265 return array_key_exists($this->index, $this->event->data->calls);
271 public function getAt($index) {
272 return new refnotes_instruction_reference($this, $this->event->data->calls[$index], $index);
278 public function insert($index, $call) {
279 $this->extraCalls[$index][] = $call;
302 foreach ($this->extraCalls as $index => $extraCalls) {
303 if ($prevIndex < $index) {
304 $slice = array_slice($this->event->data->calls, $prevIndex, $index - $prevIndex);
312 $prevIndex = $index;