|
@@ 391-397 (lines=7) @@
|
| 388 |
|
**/ |
| 389 |
|
protected function select_liste() { |
| 390 |
|
# s'il n'y a qu'une valeur dans la liste, sans doute une #BALISE |
| 391 |
|
if (!isset($this->command['liste'][1])) { |
| 392 |
|
if (!is_array($this->command['liste'][0])) { |
| 393 |
|
$this->command['liste'] = explode(',', $this->command['liste'][0]); |
| 394 |
|
} else { |
| 395 |
|
$this->command['liste'] = $this->command['liste'][0]; |
| 396 |
|
} |
| 397 |
|
} |
| 398 |
|
$this->tableau = $this->command['liste']; |
| 399 |
|
} |
| 400 |
|
|
|
@@ 408-414 (lines=7) @@
|
| 405 |
|
**/ |
| 406 |
|
protected function select_enum() { |
| 407 |
|
# s'il n'y a qu'une valeur dans la liste, sans doute une #BALISE |
| 408 |
|
if (!isset($this->command['enum'][1])) { |
| 409 |
|
if (!is_array($this->command['enum'][0])) { |
| 410 |
|
$this->command['enum'] = explode(',', $this->command['enum'][0]); |
| 411 |
|
} else { |
| 412 |
|
$this->command['enum'] = $this->command['enum'][0]; |
| 413 |
|
} |
| 414 |
|
} |
| 415 |
|
if (count($this->command['enum']) >= 3) { |
| 416 |
|
$enum = range(array_shift($this->command['enum']), array_shift($this->command['enum']), |
| 417 |
|
array_shift($this->command['enum'])); |