<commit_before><?php
/**
 * An example class to bind to SharePoint server through ntlmaps
 *
 * @license		MIT license (as same as thybag's)
 * @author		<NAME><roland mxchange org>
 */
class ExampleSharePointAPI extends SharePointAPI {
	/**
	 * Overwritten constructor
	 *
	 * @param User account to authenticate with. (Must have read/write/edit permissions to given Lists)
	 * @param Password to use with authenticating account.
	 * @param WSDL file for this set of lists  ( sharepoint.url/subsite/_vti_bin/Lists.asmx?WSDL )
	 * @param Whether to authenticate with NTLM
	 */
	public function __construct ($sp_user, $sp_pass, $sp_WSDL, $useNtlm = FALSE) {
		// Set 1.2 version
		$this->soap_version = SOAP_1_2;

		// ntlmaps
		$this->proxyHost = 'localhost';
		$this->proxyPort = 5865;

		/*
		 * Call parent constructor, but ignore username/password as the ntlmaps
		 * proxy doesn't requir authentication data as it is IP-based.
		 */
		parent::__construct('', '', $sp_WSDL, $useNtlm);
	}
}
?><commit_msg>doc-tag improved<commit_after><?php
/**
 * An example class to bind to SharePoint server through ntlmaps
 *
 * @license		MIT license (as same as thybag's)
 * @author		<NAME><roland mxchange org>
 */
class ExampleSharePointAPI extends SharePointAPI {
	/**
	 * Overwritten constructor
	 *
	 * @param string $spUsername User account to authenticate with. (Must have read/write/edit permissions to given Lists)
	 * @param string $spPassword Password to use with authenticating account.
	 * @param string $spWsdl WSDL file for this set of lists  ( sharepoint.url/subsite/_vti_bin/Lists.asmx?WSDL )
	 * @param boolean $useNtlm Whether to authenticate with NTLM
	 * @return void
	 */
	public function __construct ($spUsername, $spPassword, $spWsdl, $useNtlm = FALSE) {
		// Set 1.2 version
		$this->soap_version = SOAP_1_2;

		// ntlmaps
		$this->proxyHost = 'localhost';
		$this->proxyPort = 5865;

		/*
		 * Call parent constructor, but ignore username/password as the ntlmaps
		 * proxy doesn't require authentication data as it is IP-based.
		 */
		parent::__construct('', '', $spWsdl, $useNtlm);
	}
}
?>
{'fraction_non_alphanumeric': 0.11248220218319886, 'fraction_numerical': 0.007593735168485999, 'mean_word_length': 3.857142857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2848620', 'n_tokens_mistral': 729, 'n_tokens_neox': 656, 'n_words': 215}