Lines Matching refs:sections
21 var $sections; variable in action_plugin_editsections_es
54 if (count($this->sections) === 0) {
69 $last_ind = count($this->sections) - 1;
70 $start = $this->sections[$ind]['start'];
71 $event->data['name'] = $this->sections[$ind]['name'];
74 $event->data['range'] = strval($start).'-'.strval($this->sections[$ind]['end']);
78 …while ( ($end_ind + 1 <= $last_ind) and ($this->sections[$end_ind + 1]['level'] > $this->sections[…
81 $event->data['range'] = strval($start).'-'.strval($this->sections[$end_ind]['end']);
83 $event->data['name'] .= ' -> '.$this->sections[$end_ind]['name'];
122 $this->sections = array();
127 $this->sections[] = array( 'level' => $value[1][1],
133 if ($value[1][0] !== $this->sections[$count - 1]['level']) {
135 if ($value[2] !== $this->sections[$count - 1]['start']) {
137 $this->sections[$count - 1]['open'] = $index;
140 $this->sections[$count - 1]['end'] = $value[2];
141 $this->sections[$count - 1]['close'] = $index;
148 $last_ind = count($this->sections) - 1;
149 foreach( $this->sections as $index => $value ) {
176 $calls[$h_ind][1][2] = $this->sections[$last_ind][end];
177 $calls[$h_ind][2] = $this->sections[$last_ind][end];
181 $calls[$o_ind][2] = $this->sections[$last_ind][end];
185 $calls[$c_ind][2] = $this->sections[$last_ind][end];