<commit_before><?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of event
 *
 * @author Ushan
 */
class Event extends My_Model {

    const DB_TABLE = 'event';
    const DB_TABLE_PK = 'id';

    public $id;
    public $name;
    public $location;
    public $date;
    public $starttime;
    public $endtime;
    public $userid;

    //add new event 
    function addEvent($array) {
        $this->name = $array[0]["name"];
        $this->location = $array[0]["location"];
        $this->date = $array[0]["date"];
        $this->starttime = $array[0]["starttime"];
        $this->endtime = $array[0]["endtime"];
        $this->userid = $array[0]["userid"];
        $this->save();
    }<commit_msg>adding uppercase<commit_after><?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of event
 *
 * @author Ushan
 */
class Event extends MY_Model{

    const DB_TABLE = 'event';
    const DB_TABLE_PK = 'id';

    public $id;
    public $name;
    public $location;
    public $date;
    public $starttime;
    public $endtime;
    public $userid;

    //add new event 
    function addEvent($array) {
        $this->name = $array[0]["name"];
        $this->location = $array[0]["location"];
        $this->date = $array[0]["date"];
        $this->starttime = $array[0]["starttime"];
        $this->endtime = $array[0]["endtime"];
        $this->userid = $array[0]["userid"];
        $this->save();
    }
{'fraction_non_alphanumeric': 0.1558139534883721, 'fraction_numerical': 0.0069767441860465115, 'mean_word_length': 2.7658643326039387, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '2823912', 'n_tokens_mistral': 547, 'n_tokens_neox': 539, 'n_words': 149}