Lines Matching refs:value
124 foreach( $calls as $index => $value ) {
125 if ($value[0] === 'header') {
127 $this->sections[] = array( 'level' => $value[1][1],
128 'start' => $value[2],
129 'name' => $value[1][0],
132 if ($value[0] === 'section_open') {
133 if ($value[1][0] !== $this->sections[$count - 1]['level']) {
135 if ($value[2] !== $this->sections[$count - 1]['start']) {
139 if ($value[0] === 'section_close') {
140 $this->sections[$count - 1]['end'] = $value[2];
149 foreach( $this->sections as $index => $value ) {
153 $calls[$h_ind][1][2] = $value['start'];
154 $calls[$h_ind][2] = $value['start'];
159 $calls[$o_ind][2] = $value['start'];
164 $calls[$c_ind][2] = $value['end'];
167 $h_ind = $value['header'];
168 $o_ind = $value['open'];
169 $c_ind = $value['close'];