<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 WorkOrders
 *
 * @author Murtaza
 */
class WorkOrders extends CI_Controller {
    
    public $page_title;

    function __construct() {
        parent::__construct();
        $this->load->model("Workorders_m");
    }

    public function index() {
        $this->data['page_title'] = 'Work Orders';
        $this->data['workorders'] = $this->Workorders_m->get_all();
        $this->load->view("WorkOrders/Index", $this->data);
    }

    public function add() {
        $this->data['page_title'] = 'Work Orders > Add New Work Order';
        $this->load->view("WorkOrders/Add", $this->data);
    }

    public function view($id = null) {
        $this->data['page_title'] = 'Work Orders > Work Order Title';
        $this->load->view("WorkOrders/View");<commit_msg>Final Changes<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 WorkOrders
 *
 * @author Murtaza
 */
class WorkOrders extends CI_Controller {
    
    public $page_title;

    function __construct() {
        parent::__construct();
       // $this->load->model("Workorders_m");
    }

    public function index() {
        //$this->data['page_title'] = 'Work Orders';
        //$this->data['workorders'] = $this->Workorders_m->get_all();
        $this->load->view("WorkOrders/Index");
    }

    public function add() {
        $this->data['page_title'] = 'Work Orders > Add New Work Order';
        $this->load->view("WorkOrders/Add", $this->data);
    }

    public function view($id = null) {
        $this->data['page_title'] = 'Work Orders > Work Order Title';
        $this->load->view("WorkOrders/View");
{'fraction_non_alphanumeric': 0.15516372795969774, 'fraction_numerical': 0.0, 'mean_word_length': 2.956175298804781, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 38, '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': '2873333', 'n_tokens_mistral': 598, 'n_tokens_neox': 583, 'n_words': 149}