src/widgets/ArraySpoiler.php
public function run()
    {
        if (!isset($this->parts['{visible}'])) {
            $this->renderVisible();
        }
        if (!isset($this->parts['{button}'])) {
            $this->renderSpoiled();
        }
        if (!isset($this->parts['{hidden}'])) {
            $this->renderHidden();
        }

        echo strtr($this->template, $this->parts);
    }
public function run()
    {
        if (!isset($this->parts['{visible}'])) {
            $this->renderVisible();
        }
        if (!isset($this->parts['{button}'])) {
            $this->renderSpoiled();
        }
        if (!isset($this->parts['{hidden}'])) {
            $this->renderHidden();
        }

        echo strtr($this->template, $this->parts);
    }
public function run ( ) { if ( ! isset ( $ this -> parts [ '{visible}' ] ) ) { $ this -> renderVisible ( ) ; } if ( ! isset ( $ this -> parts [ '{button}' ] ) ) { $ this -> renderSpoiled ( ) ; } if ( ! isset ( $ this -> parts [ '{hidden}' ] ) ) { $ this -> renderHidden ( ) ; } echo strtr ( $ this -> template , $ this -> parts ) ; }
Renders the all the widget.
Renders the all the widget .