Frontend\Modules\Profiles\Engine\Profile::getSettings PHP Method

getSettings() public method

Get all settings.
public getSettings ( ) : array
return array
    public function getSettings()
    {
        // if settings array does not exist then get it first
        if (empty($this->settings)) {
            $this->settings = FrontendProfilesModel::getSettings($this->getId());
        }
        // return settings
        return $this->settings;
    }