Create the widget's display property.

@return PropertyDisplayInterface
965239
private function createDisplayProperty()
    {
        $prop    = $this->property();
        $type    = $this->displayType();
        $display = $this->propertyDisplayFactory()->create($type);

        if ($this->formGroup() && ($display instanceof FormInputInterface)) {
            $display->setFormGroup($this->formGroup());
        }

        if ($display instanceof ViewableInterface) {
            $display->setViewController($this->viewController());
        }

        $display->setDisplayType($type);
        $display->setProperty($prop);
        $display->setPropertyVal($this->propertyVal());
        $display->setData($prop->data());

        $metadata = $prop->metadata();
        if (isset($metadata['admin'])) {
            $display->setData($metadata['admin']);
        }

        return $display;
    }
252550
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $ordered_options = $this->getOrderedOptions();

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

        $list_div = new SwatHtmlTag('div');
        $list_div->style = "width: {$this->width}; height: {$this->height};";
        $list_div->id = "{$this->id}_list";
        $list_div->class = 'swat-change-order-list';
        $list_div->open();

        $option_div = new SwatHtmltag('div');
        $option_div->class = 'swat-change-order-item';

        foreach ($ordered_options as $option) {
            $title = $option->title === null ? '' : $option->title;
            $option_div->setContent($title, $option->content_type);
            $option_div->display();
        }

        $list_div->close();

        $this->displayButtons();

        echo '<div class="swat-clear"></div>';

        $values = array();
        foreach ($ordered_options as $option) {
            $values[] = SwatString::signedSerialize(
                $option->value,
                $this->getForm()->getSalt()
            );
        }

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

        $hidden_items_tag = new SwatHtmlTag('input');
        $hidden_items_tag->type = 'hidden';
        $hidden_items_tag->id = $this->id . '_dynamic_items';
        $hidden_items_tag->value = '';
        $hidden_items_tag->display();

        $div_tag->close();

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

        parent::display();

        $tag = $this->isSensitive()
            ? $this->getSensitiveTag()
            : $this->getInsensitiveTag();

        $tag->open();

        $icon_span = new SwatHtmlTag('span');

        if ($this->isSensitive()) {
            $icon_span->class = 'swat-tool-link-icon';
        } else {
            $icon_span->class =
                'swat-tool-link-icon swat-tool-link-icon-insensitive';
        }

        $icon_span->setContent('');

        $icon_span->display();

        $title_span = new SwatHtmlTag('span');
        $title_span->class = 'swat-tool-link-title';
        $title_span->setContent($this->title, $this->content_type);
        $title_span->display();

        $tag->close();
    }
615018
public function display()
    {
        //Get the view name
        $name = $this->getName();

        //set the state data to the view
        $this->_data = array_merge($this->_state->toArray(), $this->_data);

        //Assign the data of the model to the view
        if ($items = $this->_state->getList()) {
            $this->_data[ AnInflector::pluralize($name) ] = $items;
            $this->_data['items'] = $items;
        }

        if ($item = $this->_state->getItem()) {
            $this->_data[ AnInflector::singularize($name) ] = $item;
            $this->_data['item'] = $item;
        }

        return parent::display();
    }
392066
public function display()
    {
        if (!$this->visible) {
            return;
        }

        SwatWidget::display();

        $this->getForm()->addHiddenField($this->id . '_submitted', 1);

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

        $this->label_tag = new SwatHtmlTag('label');
        $this->label_tag->class = 'swat-control';

        $this->input_tag = new SwatHtmlTag('input');
        $this->input_tag->type = 'checkbox';
        $this->input_tag->name = $this->id . '[]';

        if ($this->tree !== null) {
            $num_nodes = $this->displayNode($this->tree);
        } else {
            $num_nodes = 0;
        }

        // Only display the check-all widget if more than one checkable item is
        // displayed.
        $check_all = $this->getCompositeWidget('check_all');
        $check_all->visible = $num_nodes > 1 && $this->show_check_all;
        $check_all->display();

        $div_tag->close();

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

        SwatWidget::display();

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

        $outer_div->open();
        $this->displayTitle();
        $this->displayContent();
        $outer_div->close();
    }
1157337
public function display()
    {

        //add feed properties
        $this->channelPropertiesToDOM();

        //add items
        foreach($this->items as $item){

            $this->appendItem($item);
        }

        return $this->saveXML();
    }
556187
public function display()
	{
        App::$Alias->setCustomLibrary('js', $this->baseUrl . '/ckeditor.js');
        App::$Alias->setCustomLibrary('js', $this->baseUrl . '/adapters/jquery.js');
        $jsInitializeCode = "$('.{$this->targetClass}').ckeditor({";
        $jsInitializeCode .= "language: '{$this->language}', customConfig: '{$this->config}.js', ";
        if ($this->jsConfig !== null && Any::isArray($this->jsConfig)) {
            foreach ($this->jsConfig as $obj => $value) {
                $jsInitializeCode .= $obj . ": '" . $value . "', ";
            }
        }
	    $jsInitializeCode .= "});";

        App::$Alias->addPlainCode('js', $jsInitializeCode);
		return null;
	}
962803
public function display()
    {
        parent::display();

        if (!$this->visible) {
            return;
        }

        $flydown = $this->getCompositeWidget('flydown');
        $flydown->value = (string) $this->value;

        $div = new SwatHtmlTag('div');
        $div->id = $this->id;
        $div->class = $this->getCSSClassString();
        if (!$this->isSensitive()) {
            $div->class .= ' swat-insensitive';
        }
        $div->open();
        $flydown->display();
        $div->close();

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

        parent::display();

        $this->autoCropBoxDimensions();

        $div_tag = new SwatHtmlTag('div');
        $div_tag->id = $this->id;
        $div_tag->class = 'swat-image-cropper yui-skin-sam';
        $div_tag->open();

        $image_tag = new SwatHtmlTag('img');
        $image_tag->id = $this->id . '_image';
        $image_tag->src = $this->image_uri;
        $image_tag->width = $this->image_width;
        $image_tag->height = $this->image_height;
        $image_tag->alt = Swat::_('Crop Image');
        $image_tag->display();

        $input_tag = new SwatHtmlTag('input');
        $input_tag->type = 'hidden';

        $input_tag->id = $this->id . '_width';
        $input_tag->name = $this->id . '_width';
        $input_tag->value = $this->crop_width;
        $input_tag->display();

        $input_tag->id = $this->id . '_height';
        $input_tag->name = $this->id . '_height';
        $input_tag->value = $this->crop_height;
        $input_tag->display();

        $input_tag->id = $this->id . '_x';
        $input_tag->name = $this->id . '_x';
        $input_tag->value = $this->crop_left;
        $input_tag->display();

        $input_tag->id = $this->id . '_y';
        $input_tag->name = $this->id . '_y';
        $input_tag->value = $this->crop_top;
        $input_tag->display();

        $div_tag->close();

        Swat::displayInlineJavaScript($this->getInlineJavaScript());
    }
800191
public function setDisplayBackground($displayBackground = true)
    {
        $this->isBool($displayBackground, 'displayBackground');
        $this->displayBackground = $displayBackground;

        return $this;
    }
607012
public function generatePropertyInterface()
    {
        $interface = new PhpInterface($this->propertyInterfaceName);
        $interface
            ->setQualifiedName('SecIT\\SchemaOrg\\Mapping\\Property\\'.$this->propertyInterfaceName)
            ->setDescription('Interface '.$this->propertyInterfaceName.'.')
            ->setMethod(PhpMethod::create('getSchemaUrl')
                ->setDescription('Get schema URL.')
                ->setType('string')
            )
            ->setMethod(PhpMethod::create('getValue')
                ->setDescription('Get value.')
                ->setType('string')
            )
            ->setMethod(PhpMethod::create('isValueValid')
                ->setDescription('Check is value valid.')
                ->addParameter(PhpParameter::create('value')
                    ->setType('string')
                )
                ->setType('bool')
            )
        ;

        $generator = new CodeGenerator();
        $code = $generator->generate($interface);

        $directory = $this->getMappingDirectory('Property');
        file_put_contents($directory.$this->propertyInterfaceName.'.php', "<?php\n\n".$code);
    }
654789
public function display()
    {
        if (!$this->visible) {
            return;
        }

        SwatWidget::display();

        // default header level is h2
        $level = 2;
        $ancestor = $this->parent;

        // get appropriate header level, limit to h6
        while ($ancestor !== null && $level < 6) {
            if ($ancestor instanceof SwatFrame) {
                $level++;
            }

            $ancestor = $ancestor->parent;
        }

        $header_tag = new SwatHtmlTag('h' . $level);
        $header_tag->class = 'swat-frame-title';

        $control_div = $this->getControlDivTag();
        $span_tag = $this->getSpanTag();
        $input_tag = $this->getInputTag();
        $container_div = $this->getContainerDivTag();
        $container_div->class .= ' swat-frame-contents';
        $animate_div = $this->getAnimateDivTag();

        $control_div->open();

        $header_tag->open();
        $span_tag->display();
        $header_tag->close();

        $input_tag->display();

        $animate_div->open();
        echo '<div>';
        $container_div->open();
        $this->displayChildren();
        $container_div->close();
        echo '</div>';
        $animate_div->close();

        Swat::displayInlineJavaScript($this->getInlineJavascript());

        $control_div->close();
    }
279503
public function display()
    {
        $style = new Style();
        echo PHP_EOL;

        echo $style->setText('Use    : ')
            ->color('fg', Style::COLOR_GREEN)
            ->highlight('fg')
            ->bold()
            ->get();

        echo $style->reset()
            ->setText('php  ' . $this->scriptName . ' [OPTION]...')
            ->highlight('fg')
            ->bold()
            ->get() . PHP_EOL;

        echo $style->reset()
            ->setText('OPTIONS: ')
            ->color('fg', Style::COLOR_GREEN)
            ->bold()
            ->get() . PHP_EOL;

        foreach ($this->arguments as $argument) {
            $line = '  ';

            if (! empty($argument->shortName)) {
                $line .= '-' . $argument->shortName;

                if ($argument->hasValue) {
                    $line .= ' ARG';
                }

                $line .= ',';
            }

            $line = str_pad($line, 10); // add 8 space


            if (! empty($argument->fullName)) {
                $line .= '--' . $argument->fullName;
                if ($argument->hasValue) {
                    $line .= '=ARG';
                }
            }

            $line = $style->reset()
                ->setText(str_pad($line, 40))
                ->bold()
                ->get();
            $line .= $argument->description;

            if ($argument->isMandatory) {
                $line .= $style->reset()
                    ->setText(' - MANDATORY')
                    ->color('fg', Style::COLOR_RED)
                    ->get();
            }

            echo $line, PHP_EOL;
        }

        echo PHP_EOL;
    }
1208982
public function setProperty(PropertyInterface $property)
    {
        $this->property      = $property;
        $this->propertyType  = $property->type();
        $this->propertyIdent = $property->ident();

        $inputType = $property['input_type'];
        if ($inputType) {
            $this->inputType = $inputType;
        }

        $displayType = $property['display_type'];
        if ($displayType) {
            $this->displayType = $displayType;
        }

        return $this;
    }
828581
public function createEiPropConfigurator(): EiPropConfigurator {
		$this->getDisplayConfig()->setAddModeDefaultDisplayed(false);
		$this->getDisplayConfig()->setEditModeDefaultDisplayed(false);
		return parent::createEiPropConfigurator();
	}
254915
public function display()
    {
        if (!$this->visible) {
            return;
        }

        SwatWidget::display();

        $fieldset_tag = new SwatHtmlTag('fieldset');
        $fieldset_tag->id = $this->id;
        $fieldset_tag->class = $this->getCSSClassString();
        $fieldset_tag->open();

        if ($this->title !== null) {
            $legend_tag = new SwatHtmlTag('legend');

            if ($this->access_key != '') {
                $legend_tag->accesskey = $this->access_key;
            }

            $legend_tag->setContent($this->title, $this->title_content_type);
            $legend_tag->display();
        }

        $this->displayChildren();

        Swat::displayInlineJavaScript($this->getInlineJavascript());

        $fieldset_tag->close();
    }