PATH:
home
/
lab2454c
/
veritserv.com
/
wp-content
/
plugins
/
elementskit-lite
/
modules
/
widget-builder
/
controls
<?php namespace ElementsKit_Lite\Modules\Widget_Builder\Controls; defined( 'ABSPATH' ) || exit; class CT_Factory { public function make( $type, $domain, $group = 'single' ) { if ( $group == 'single' ) { switch ( $type ) { case 'TextControl': return new Control_Type_Input( $domain ); case 'NumberControl': return new Control_Type_Number( $domain ); case 'UrlControl': return new Control_Type_URL( $domain ); case 'TextareaControl': return new Control_Type_Text_Area( $domain ); case 'SelectControl': return new Control_Type_Select( $domain ); case 'Select2Control': return new Control_Type_Select2( $domain ); case 'CodeControl': return new Control_Type_Code( $domain ); case 'SwitcherControl': return new Control_Type_Switch( $domain ); case 'ChooseControl': return new Control_Type_Choose( $domain ); case 'ColorControl': return new Control_Type_Color( $domain ); case 'EntranceAnimationControl': return new Control_Type_Animation( $domain ); case 'HoverAnimationControl': return new Control_Type_Animation( $domain ); case 'DateTimeControl': return new Control_Type_Date_Time( $domain ); case 'FontControl': return new Control_Type_Font( $domain ); case 'GalleryControl': return new Control_Type_Gallery( $domain ); case 'SliderControl': return new Control_Type_Slider( $domain ); case 'IconsControl': return new Control_Type_Icons( $domain ); case 'MediaControl': return new Control_Type_Media( $domain ); case 'WysiwygControl': return new Control_Type_Wys( $domain ); case 'DimensionsControl': return new Control_Type_Dimensions( $domain ); case 'ImageDimensionsControl': return new Control_Type_Image_Dimensions( $domain ); default: return new Control_Type_Input( $domain ); } } elseif ( $group == 'group' ) { switch ( $type ) { case 'BackgroundControl': return new Control_Type_Background( $domain ); case 'BorderControl': return new Control_Type_Border( $domain ); case 'TextShadowControl': return new Control_Type_Text_Shadow( $domain ); case 'BoxShadowControl': return new Control_Type_Box_Shadow( $domain ); case 'TypographyControl': return new Control_Type_Typography( $domain ); case 'ImageSizeControl': return new Control_Type_Image_Size( $domain ); default: return new Control_Type_Border( $domain ); } } elseif ( $group == 'responsive' ) { } return new Control_Type_Input( $domain ); } }
[-] control-type-text-area.php
[edit]
[-] control-type-code.php
[edit]
[-] control-type-choose.php
[edit]
[-] ct-factory.php
[edit]
[-] control-type-image-size.php
[edit]
[-] control-type-typography.php
[edit]
[-] control-type-icons.php
[edit]
[-] control-type-image-dimensions.php
[edit]
[+]
..
[-] control-type-slider.php
[edit]
[-] control-type-date-time.php
[edit]
[-] widget-writer.php
[edit]
[-] control-type-border.php
[edit]
[-] control-type-wys.php
[edit]
[-] control-type-input.php
[edit]
[-] control-type-font.php
[edit]
[-] control-type-color.php
[edit]
[-] control-type-dimensions.php
[edit]
[-] ct-base.php
[edit]
[-] control-type-switch.php
[edit]
[-] ct-contract.php
[edit]
[-] control-type-box-shadow.php
[edit]
[-] control-type-text-shadow.php
[edit]
[-] control-type-gallery.php
[edit]
[-] control-type-select2.php
[edit]
[-] .htaccess
[edit]
[-] control-type-number.php
[edit]
[-] control-type-animation.php
[edit]
[-] control-type-url.php
[edit]
[-] control-type-hover.php
[edit]
[-] control-type-background.php
[edit]
[-] control-type-select.php
[edit]
[-] control-type-media.php
[edit]