<commit_before><?php
class Tag extends CI_Controller {

	public function tag()
	{
		
	}

	public function create_tag()
	{

	}
}<commit_msg>creates a function to load all the views including the tag form and creates a function to create tags after form submitted<commit_after><?php
class Tag extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
	}

	public function manageTags()
	{

		$this->load->view("templates/header", array("title"=>"Manage Tags"));
		$data['footer'] = $this->load->view("templates/footer", NULL, TRUE);
		$data['tagForm'] = $this->load->view("tagForm", NULL, TRUE);
		$this->load->view("manageTags", $data);


	}


	public function create_tag()
	{	
		$this->load->model('Tag_model');
		// create and display form, as you do in about_me or etc
		// on form submission:
		// $tagData = array("name"=>form['tag']);
		//call tag_model->save_tag($tagData)
	}
}
{'fraction_non_alphanumeric': 0.16079295154185022, 'fraction_numerical': 0.0, 'mean_word_length': 4.410714285714286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, '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': '819076', 'n_tokens_mistral': 314, 'n_tokens_neox': 289, 'n_words': 79}