/var/www/hkosl.com/aga/wp-content/plugins/so-widgets-bundle/widgets/contact/fields/base.class.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
abstract class SiteOrigin_Widget_ContactForm_Field_Base {

    
/**
     * The options for this field. Used when enqueueing styles and scripts and rendering the field.
     *
     * @access protected
     * @var array
     */
    
protected $options;

    public function 
__construct$options ) {
        
$this->options $options;
        
$this->init();
    }

    private function 
init() {
        
$this->initialize$this->options );
    }

    protected function 
initialize$options ) {
    }

    abstract protected function 
render_field$options );

    public function 
render() {
        
$this->render_field$this->options );
    }
}