protected function _getDefaultSchemaData() {
		$configAcLimit = $this->_modelConfigSettingsApp->getFlagConfigAcLimit();
		$configADsearch = $this->_modelConfigSettingsApp->getFlagConfigADsearch();
		$configSMTP = $this->_modelConfigSettingsApp->getFlagConfigSmtp();
		$configExtAuth = $this->_modelConfigSettingsApp->getFlagConfigExtAuth();
		$defaultSchema = $this->_schemaData;
		$excludeFields = [];

		if (!$configAcLimit) {
			$excludeFields[] = 'AutocompleteLimit';
		}
		if (!$configADsearch) {
			$excludeFields[] = 'Company';
			$excludeFields[] = 'SearchBase';
		}
		if (!$configSMTP) {
			$excludeFields[] = 'EmailSmtphost';
			$excludeFields[] = 'EmailSmtpport';
			$excludeFields[] = 'EmailSmtpuser';
			$excludeFields[] = 'EmailSmtppassword';
			$excludeFields[] = 'EmailNotifyUser';
		}

		if (!$configExtAuth) {
			$excludeFields[] = 'ExternalAuth';
		}

		$result = array_diff_key($defaultSchema, array_flip($excludeFields));

		return $result;
	}
protected function _getDefaultSchemaData() {
		$configAcLimit = $this->_modelConfigSettingsApp->getFlagConfigAcLimit();
		$configADsearch = $this->_modelConfigSettingsApp->getFlagConfigADsearch();
		$configSMTP = $this->_modelConfigSettingsApp->getFlagConfigSmtp();
		$configExtAuth = $this->_modelConfigSettingsApp->getFlagConfigExtAuth();
		$defaultSchema = $this->_schemaData;
		$excludeFields = [];

		if (!$configAcLimit) {
			$excludeFields[] = 'AutocompleteLimit';
		}
		if (!$configADsearch) {
			$excludeFields[] = 'Company';
			$excludeFields[] = 'SearchBase';
		}
		if (!$configSMTP) {
			$excludeFields[] = 'EmailSmtphost';
			$excludeFields[] = 'EmailSmtpport';
			$excludeFields[] = 'EmailSmtpuser';
			$excludeFields[] = 'EmailSmtppassword';
			$excludeFields[] = 'EmailNotifyUser';
		}

		if (!$configExtAuth) {
			$excludeFields[] = 'ExternalAuth';
		}

		$result = array_diff_key($defaultSchema, array_flip($excludeFields));

		return $result;
	}
protected function _getDefaultSchemaData ( ) { $ configAcLimit = $ this -> _modelConfigSettingsApp -> getFlagConfigAcLimit ( ) ; $ configADsearch = $ this -> _modelConfigSettingsApp -> getFlagConfigADsearch ( ) ; $ configSMTP = $ this -> _modelConfigSettingsApp -> getFlagConfigSmtp ( ) ; $ configExtAuth = $ this -> _modelConfigSettingsApp -> getFlagConfigExtAuth ( ) ; $ defaultSchema = $ this -> _schemaData ; $ excludeFields = [ ] ; if ( ! $ configAcLimit ) { $ excludeFields [ ] = 'AutocompleteLimit' ; } if ( ! $ configADsearch ) { $ excludeFields [ ] = 'Company' ; $ excludeFields [ ] = 'SearchBase' ; } if ( ! $ configSMTP ) { $ excludeFields [ ] = 'EmailSmtphost' ; $ excludeFields [ ] = 'EmailSmtpport' ; $ excludeFields [ ] = 'EmailSmtpuser' ; $ excludeFields [ ] = 'EmailSmtppassword' ; $ excludeFields [ ] = 'EmailNotifyUser' ; } if ( ! $ configExtAuth ) { $ excludeFields [ ] = 'ExternalAuth' ; } $ result = array_diff_key ( $ defaultSchema , array_flip ( $ excludeFields ) ) ; return $ result ; }
Returns an array of default settings fields metadata

@return array Default settings fields metadata.
Returns an array of default settings fields metadata