ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
LSLocatorBuilder.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
7
12{
16 protected $command;
17
21 protected $items;
22
27
29 {
30 $this->command = $command;
31 $this->control_builder = $control_builder;
32 }
33
34 public function getItems() : array
35 {
36 return $this->items;
37 }
38
42 public function end() : ControlBuilder
43 {
45 }
46
50 public function item(string $label, int $parameter, $state = null) : LocatorBuilder
51 {
52 $this->items[] = [
53 'label' => $label,
54 'command' => $this->command,
55 'parameter' => $parameter
56 ];
57 return $this;
58 }
59}
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
An exception for terminatinating execution or to throw for unit testing.
Class LSTOCBuilder.
end()
Finish building the locator.
item(string $label, int $parameter, $state=null)
__construct(string $command, ControlBuilder $control_builder)
Build controls for the view.
Build a locator for the view.