PATH:
home
/
lab2454c
/
incforce.com
/
wp-content
/
plugins
/
smart-slider-3
/
Nextend
/
Framework
/
Form
/
Element
<?php namespace Nextend\Framework\Form\Element; use Nextend\Framework\Asset\Js\Js; use Nextend\Framework\Form\AbstractField; class LayerWindowFocus extends AbstractField { /** * @var AbstractField */ protected $fieldImage; /** * @var AbstractField */ protected $fieldFocusX; /** * @var AbstractField */ protected $fieldFocusY; /** * LayerWindowFocus constructor. * * @param $insertAt * @param $name * @param $label * @param array $parameters */ public function __construct($insertAt, $name, $label, $parameters = array()) { parent::__construct($insertAt, $name, $label, '', $parameters); } /** * @param AbstractField $fieldImage * @param AbstractField $fieldFocusX * @param AbstractField $fieldFocusY */ public function setFields($fieldImage, $fieldFocusX, $fieldFocusY) { $this->fieldImage = $fieldImage; $this->fieldFocusX = $fieldFocusX; $this->fieldFocusY = $fieldFocusY; } protected function fetchElement() { Js::addInline('new _N2.FormElementLayerWindowFocus("' . $this->fieldID . '", ' . json_encode(array( 'image' => $this->fieldImage->getID(), 'focusX' => $this->fieldFocusX->getID(), 'focusY' => $this->fieldFocusY->getID(), )) . ');'); return '<div id="' . $this->fieldID . '" class="n2_field_layer_window_focus" style="width:314px;"><img class="n2_field_layer_window_focus__image" alt="Error"></div>'; } }
[-] Message.php
[edit]
[+]
Button
[-] Tab.php
[edit]
[-] Upload.php
[edit]
[+]
Radio
[-] Devices.php
[edit]
[+]
..
[-] Textarea.php
[edit]
[+]
Select
[-] IconTab.php
[edit]
[-] Grouping.php
[edit]
[-] Decoration.php
[edit]
[-] CheckboxOnOff.php
[edit]
[-] Breakpoint.php
[edit]
[-] MarginPadding.php
[edit]
[+]
Message
[-] Token.php
[edit]
[-] RichTextarea.php
[edit]
[-] Connected.php
[edit]
[-] LayerWindowFocus.php
[edit]
[-] AbstractFieldHidden.php
[edit]
[-] AbstractChooserText.php
[edit]
[+]
MixedField
[-] Unit.php
[edit]
[+]
Textarea
[-] EmptyArea.php
[edit]
[-] MixedField.php
[edit]
[+]
Text
[-] SelectIcon.php
[edit]
[-] Radio.php
[edit]
[-] Text.php
[edit]
[+]
Group
[-] Select.php
[edit]
[-] Hidden.php
[edit]
[-] AbstractChooser.php
[edit]
[-] Style.php
[edit]
[-] Font.php
[edit]
[-] Gap.php
[edit]
[-] OnOff.php
[edit]
[+]
Hidden
[-] Button.php
[edit]