Swat/SwatInputCell.php
public function init()
    {
        if ($this->widget !== null) {
            $this->widget->init();
        }

        // ensure the widget has an id
        if ($this->widget->id === null) {
            $this->widget->id = $this->widget->getUniqueId();
        }
    }
public function init()
    {
        if ($this->widget !== null) {
            $this->widget->init();
        }

        // ensure the widget has an id
        if ($this->widget->id === null) {
            $this->widget->id = $this->widget->getUniqueId();
        }
    }
public function init ( ) { if ( $ this -> widget !== null ) { $ this -> widget -> init ( ) ; } // ensure the widget has an id if ( $ this -> widget -> id === null ) { $ this -> widget -> id = $ this -> widget -> getUniqueId ( ) ; } }
Initializes this input cell

This calls {@link SwatWidget::init()} on the cell's prototype widget.
Initializes this input cell