{@inheritdoc}

@see \Concrete\Core\Captcha\CaptchaInterface::display()
491590
public function display()
    {
        $image = Image::create(
            $this->urlResolver->resolve(['/ccm/system/captcha/picture'])->setQuery('nocache=' . round(microtime(true) * 1000)),
            t('Captcha Code'),
            [
                'class' => 'ccm-captcha-image',
                'onclick' => h('this.src = this.src.replace(/([?&]nocache=)(\d+)/, \'$1\' + ((new Date()).getTime()))'),
                'width' => $this->securimage->image_width,
                'height' => $this->securimage->image_height,
            ]
        );
        foreach ($this->getPictureAttributes() as $attributeName => $attributeValue) {
            if ($attributeValue === null) {
                $image->removeAttribute($attributeName);
            } else {
                switch ($attributeName) {
                    case 'class':
                        $image->addClass($attributeValue);
                        break;
                    default:
                        $image->setAttribute($attributeName, $attributeValue);
                        break;
                }
            }
        }
        echo '<div>', (string) $image, '</div>';
    }
1090648
public function display(string $template)
    {
        if ($this->context && is_callable([$this->context, 'end'])) {
            $this->context->end($this->fetch($template));
        } else {
            echo $this->fetch($template);
        }
    }
1283582
public function displayValue( $value )
    {
        if ( ! is_bool( $value ) )
        {
            $value = (string) $value;
        }
        
        return ( in_array( $value, $this->validTrues, true ) )
                ? self::TRUE : self::FALSE;
    }
406919
public function display()
    {
        $hasRecaptcha = $this->components()->has('Recaptcha');
        is_true_or_fail($hasRecaptcha, __d('recaptcha-mailhide', 'Missing {0} component', 'Recaptcha'), InternalErrorException::class);

        $mail = $this->request->getQuery('mail');
        is_true_or_fail($mail, __d('recaptcha-mailhide', 'Missing mail value'), BadRequestException::class);

        if ($this->request->is('post') && $this->Recaptcha->verify()) {
            $mail = Security::decryptMail($mail);
            is_true_or_fail($mail, __d('recaptcha-mailhide', 'Invalid mail value'), BadRequestException::class);
            $this->set(compact('mail'));
        }

        $this->viewBuilder()->setLayout('RecaptchaMailhide.default');
    }
918213
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $container_div_tag = new SwatHtmlTag('div');
        $container_div_tag->id = $this->id;
        $container_div_tag->class = $this->getCSSClassString();
        $container_div_tag->open();

        // toggle button content is displayed with JavaScript

        if ($this->valid_range_start === null) {
            $today = new SwatDate();
            $value = $today->formatLikeIntl('MM/dd/yyyy');
        } else {
            $value = $this->valid_range_start->formatLikeIntl('MM/dd/yyyy');
        }

        $input_tag = new SwatHtmlTag('input');
        $input_tag->type = 'hidden';
        $input_tag->id = $this->id . '_value';
        $input_tag->name = $this->id . '_value';
        $input_tag->value = $value;
        $input_tag->display();

        $container_div_tag->close();

        Swat::displayInlineJavaScript($this->getInlineJavaScript());
    }
875867
public function display() {
		$path = func_get_args();

		$count = count($path);
		if (!$count) {
			return $this->redirect('/');
		}
		$page = $subpage = $title_for_layout = null;
        if (!empty($path[0])) {
			$page = $path[0];
		}
		if (!empty($path[1])) {
			$subpage = $path[1];
		}
		if (!empty($path[$count - 1])) {
			$title_for_layout = Inflector::humanize($path[$count - 1]);
		}
        $this->set(compact('page', 'subpage', 'title_for_layout'));
		try {

			$this->render(implode('/', $path));
		} catch (MissingViewException $e) {
			if (Configure::read('debug')) {
				throw $e;
			}
			throw new NotFoundException();
		}
	}
776980
public function display($line)
    {
        $server = $this->username.'@'.$this->host;

        $lead = '<comment>['.$server.']</comment> <info>('.$this->name.')</info>';

        $this->getOutput()->writeln($lead.' '.$line);
    }
724443
public function display()
    {
        if (!$this->visible) {
            return;
        }

        if (!$this->isPreviewDisplayable()) {
            parent::display();
        } else {
            if ($this->link !== null) {
                $tag = new SwatHtmlTag('a');
                if ($this->link_value === null) {
                    $tag->href = $this->link;
                } elseif (is_array($this->link_value)) {
                    $tag->href = vsprintf($this->link, $this->link_value);
                } else {
                    $tag->href = sprintf($this->link, $this->link_value);
                }
            } else {
                $tag = new SwatHtmlTag('span');
            }

            $tag->id = $this->id . '_wrapper';
            $tag->title = $this->title;

            if ($this->show_icon) {
                $tag->class = 'swat-image-preview-display-link';
            } else {
                $tag->class = 'swat-image-preview-display-link-plain';
            }

            $tag->open();
            parent::display();
            $tag->close();

            Swat::displayInlineJavaScript($this->getInlineJavaScript());
        }
    }
103860
public function display()
    {
        if (!$this->visible) {
            return;
        }

        SwatWidget::display();

        $div = new SwatHtmlTag('div');
        $div->id = $this->id;
        $div->class = $this->getCSSClassString();

        $div->open();
        $this->displayChildren();
        $div->close();
    }
597002
public function display()
    {
        $this->output = $this->content;

        //if content is an exception then
        //handle
        if ($this->content instanceof Exception) {
            $data = array();
            $data['code'] = $this->content->getCode();
            $data['message'] = (string) $this->content->getMessage();
            if ($this->content instanceof AnErrorException) {
                $data['errors'] = $this->_toData($this->content->getErrors());
            }
           //Encode data
            $this->output = json_encode($data);
        }

        return $this->output;
    }
972904
public function display($content, $data = []) {
        $this->content = $content;

        extract($data, EXTR_OVERWRITE);
        eval('?>' . $this->content);
    }
90908
protected function display()
    {
        foreach ($this->values as $key => $value) {
            $$key = $value;
        }

        require $this->TemplateDir.'/'.$this->templateFile;
    }
1055950
public function display()
    {
        if (!$this->visible) {
            return;
        }

        if ($this->getFirst() === null) {
            return;
        }

        SwatWidget::display();

        $container_tag = new SwatHtmlTag($this->container_tag);
        $container_tag->id = $this->id;
        $container_tag->class = $this->getCSSClassString();

        $container_tag->open();

        $content_wrapper = null;
        if ($this->wrap_content_and_notes) {
            $content_wrapper = new SwatHtmlTag('div');
            $content_wrapper->class = 'swat-form-field-content-wrapper';
        }

        if ($this->title_reversed) {
            if ($this->show_notes_first) {
                if ($this->wrap_content_and_notes) {
                    $content_wrapper->open();
                    $this->displayNotes();
                    $this->displayContent();
                    $content_wrapper->close();

                    $this->displayTitle();
                    $this->displayMessages();
                } else {
                    $this->displayNotes();
                    $this->displayContent();
                    $this->displayTitle();
                    $this->displayMessages();
                }
            } else {
                if ($this->wrap_content_and_notes) {
                    $content_wrapper->open();
                    $this->displayContent();
                    $this->displayNotes();
                    $content_wrapper->close();

                    $this->displayTitle();
                    $this->displayMessages();
                } else {
                    $this->displayContent();
                    $this->displayTitle();
                    $this->displayMessages();
                    $this->displayNotes();
                }
            }
        } else {
            if ($this->show_notes_first) {
                if ($this->wrap_content_and_notes) {
                    $this->displayTitle();

                    $content_wrapper->open();
                    $this->displayNotes();
                    $this->displayContent();
                    $content_wrapper->close();

                    $this->displayMessages();
                } else {
                    $this->displayTitle();
                    $this->displayNotes();
                    $this->displayContent();
                    $this->displayMessages();
                }
            } else {
                if ($this->wrap_content_and_notes) {
                    $this->displayTitle();

                    $content_wrapper->open();
                    $this->displayContent();
                    $this->displayNotes();
                    $content_wrapper->close();

                    $this->displayMessages();
                } else {
                    $this->displayTitle();
                    $this->displayContent();
                    $this->displayMessages();
                    $this->displayNotes();
                }
            }
        }

        $container_tag->close();
    }
914832
public function display()
    {
        if (!$this->isVisible()) { //return nothing if it's not visible
            return "";
        }
        $content = Html::get()->link($this->getURL(), $this->getIcon() . $this->translate($this->label), $this->linkHtmlOptions);
        $submenu = "";
        $anySelected = false;
        if (count($this->items)) {
            $this->htmlOptions['class'] = (isset($this->htmlOptions['class']) ? $this->htmlOptions['class'] . ' ' : '') . 'm-menu-dropdown';
            $anySelected = false;
            $anyVisible = false;
            foreach ($this->items as $item) {
                /* @var $item Label */
                $submenu .= $item->display();
                $anySelected = $anySelected || $item->isSelected();
                $anyVisible = $anyVisible || $item->isVisible();
            }
            if ($anyVisible)
                $submenu = Html::get()->tag('ul', $submenu);
            else
                $submenu = "";
            if ($anySelected) {
                if (isset($this->htmlOptions['class'])) {
                    $this->htmlOptions['class'] .= ' selected';
                } else {
                    $this->htmlOptions['class'] = 'selected';
                }
            }
        }

        if ($anySelected || $this->isSelected()) {
            $this->htmlOptions['class'] = isset($this->htmlOptions['class']) ? $this->htmlOptions['class'] . ' selected' : 'selected';
        }

        return Html::get()->tag('li', $content . $submenu, $this->htmlOptions);
    }
728677
final protected function display (bool $return=FALSE)
	{
		if (file_exists($this->file)):
			$output = file_get_contents($this->file);
			foreach ($this->assignedVariables as $key => $value) 
				$output = preg_replace('/{'.$key.'}/', $value, $output);
		else:
			$output = "*** Missing template error: {$this->file} ***";
		endif;

		if ($return)
			return $output;
		else
			echo $output;
	}
839360
public function display()
    {
        if (self::$displayer === null) {
            if (isset($_SERVER['REQUEST_URI'])) {
                echo $this->toXHTML();
            } else {
                echo $this->toString();
            }
        } else {
            $displayer = self::$displayer;
            $displayer->display($this);
        }
    }
468699
public function display()
	{
		$image_atts = getimagesize($this->source);
		header('Content-type: ' . $image_atts['mime']);
		$this->output(null);
	}