3 declare(strict_types=1);
36 'parameter' => $parameter,
46 return json_encode($this->structure);
64 $toc =
new LSTOCBuilder($this, $this->command, $label, $parameter, $lp);
76 'parameter' => $parameter,
79 $this->structure[
'childs'][] = $item;
end()
Finish building the TOC.ControlBuilder|TOCBuilder depending on the nesting level. ...
Build a nested table of contents for the view.
__construct($parent, string $command, string $label='', int $parameter=null, $state=null)
LSControlBuilder|LSTOCBuilder $parent.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
item(string $label, int $parameter, $state=null)
Build an entry in the TOC.The parameter will be appended to the command when updating the state...
node($label, int $parameter=null, $lp=null)
Build a sub tree in the TOC.If a parameter is provided, the node in the TOC can be accessed itself...