src/base/Component.php
public function getSettingsId($autoGenerate = true)
    {
        if ($autoGenerate && $this->_settingsId === null) {
            $this->_settingsId = static::$autoSettingsIdPrefix.static::$counterSettings++;
        }

        return $this->_settingsId;
    }
public function getSettingsId($autoGenerate = true)
    {
        if ($autoGenerate && $this->_settingsId === null) {
            $this->_settingsId = static::$autoSettingsIdPrefix.static::$counterSettings++;
        }

        return $this->_settingsId;
    }
public function getSettingsId ( $ autoGenerate = true ) { if ( $ autoGenerate && $ this -> _settingsId === null ) { $ this -> _settingsId = static :: $ autoSettingsIdPrefix . static :: $ counterSettings ++ ; } return $ this -> _settingsId ; }
Returns the ID of the widget.
@param boolean $autoGenerate whether to generate an ID if it is not set previously
@return string ID of the widget.
Returns the ID of the widget .