Lines Matching refs:index
26 const DATA_INDEX = 'index';
36 * @var array index stack for sections
38 protected $index = [];
93 * Push an Index onto the index stack
95 * @param integer $index Index of the current section item.
99 public function pushIndex($index)
101 array_push($this->index, $index);
140 * Pop the last index from the stack.
142 * @return int Last index
146 return array_pop($this->index);
184 * Get the index of current section item.
186 * @return mixed Last index
190 return end($this->index);
234 //Handle data variables (@index, @first, @last, etc)