<commit_before><?php
/* 
* Created on 01/12/2008
 *
 * Moodle base webservice api
 *
 * @author <NAME>
 */

/**
 * DO NOT USE ANYTHING FROM THIS FILE - WORK IN PROGRESS
 */
abstract class moodle_external {

 protected $descriptions;
 protected $user;

    /**
     * Constructor - We set the description of this API in order to be access by Web service
     */
    function __construct ($user = null) {
        $this->descriptions = array();
    }

     /**
     *
     *  @param <type> $functionname
     */
    public function get_function_webservice_description($functionname) {
        if (key_exists($functionname, $this->descriptions)) {
            return $this->descriptions[$functionname];
        }
        else {
            return false;
        }
    }

    /**
     *
     * @return <type> 
     */
    public function get_descriptions() {
        return $this->descriptions;
    }

}
?><commit_msg>web service MDL-12886 implement authentication token systemprototype<commit_after><?php
/* 
* Created on 01/12/2008
 *
 * Moodle base webservice api
 *
 * @author <NAME>
 */

/**
 * DO NOT USE ANYTHING FROM THIS FILE - WORK IN PROGRESS
 */
abstract class moodle_external {

 protected $descriptions;

    /**
     * Constructor - We set the description of this API in order to be access by Web service
     */
    function __construct () {
        $this->descriptions = array();
    }

     /**
     *
     *  @param <type> $functionname
     */
    public function get_function_webservice_description($functionname) {
        if (key_exists($functionname, $this->descriptions)) {
            return $this->descriptions[$functionname];
        }
        else {
            return false;
        }
    }

    /**
     *
     * @return <type> 
     */
    public function get_descriptions() {
        return $this->descriptions;
    }

}
?>
{'fraction_non_alphanumeric': 0.11615343057806592, 'fraction_numerical': 0.011345218800648298, 'mean_word_length': 2.1550255536626914, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, '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': '4516323', 'n_tokens_mistral': 560, 'n_tokens_neox': 532, 'n_words': 142}