public function init()
    {
        parent::init();

        static::checkRequirements();

        if (!isset($this->imageOptions['id'])) {
            $this->imageOptions['id'] = $this->options['id'] . '-image';
        }
    }
public function init()
    {
        parent::init();

        static::checkRequirements();

        if (!isset($this->imageOptions['id'])) {
            $this->imageOptions['id'] = $this->options['id'] . '-image';
        }
    }
public function init ( ) { parent :: init ( ) ; static :: checkRequirements ( ) ; if ( ! isset ( $ this -> imageOptions [ 'id' ] ) ) { $ this -> imageOptions [ 'id' ] = $ this -> options [ 'id' ] . '-image' ; } }
Initializes the widget.
Initializes the widget .