<commit_before><?php
/**
 * models/Venues_model.php
 * model for a generic Venues
 * used to show how to do CRUD in CodeIgniter
 *
 * @package ITC260
 * @subpackage Venues
 * @author <NAME>, <NAME>
 * @version 2.0 2015/8/11
 * @link
 * @license http://www.apache.org/licenses/LICENSE-2.0
 * @see Venues.php
 * @see views/venues/index.php
 * @see views/venues/view.php
 * @see views/venues/add.php
 * @see views/venues/success.php
 * @todo none
 */

class Venues_model extends CI_Model {

    /**
     * Constructor for venues model class
     *loads database
     *
     * @param none
     * @return void
     * @todo none
     */
      public function __construct()

      {
        $this->load->database();

      }//end constructor




    /**
     * get_venues method retrieves added venues from database
     *loads database
     *
     * @param none
     * @return void
     * @todo none
     */
    public function get_venues($slug = FALSE)
    {

        
        */
        if ($slug === FALSE)
        {
            $this->db->select('*');
            $this->db->from('sc_Venue');
            $this->db->join('sc_VenueType', 'sc_VenueType.VenueTypeKey = sc_Venue.VenueTypeKey');

            $query = $this->db->get();
            //$query = $this->db->get('sc_Venue');
            return $query->result_array();
<commit_msg>fix extra character on the code<commit_after><?php
/**
 * models/Venues_model.php
 * model for a generic Venues
 * used to show how to do CRUD in CodeIgniter
 *
 * @package ITC260
 * @subpackage Venues
 * @author <NAME>, <NAME>
 * @version 2.0 2015/8/11
 * @link
 * @license http://www.apache.org/licenses/LICENSE-2.0
 * @see Venues.php
 * @see views/venues/index.php
 * @see views/venues/view.php
 * @see views/venues/add.php
 * @see views/venues/success.php
 * @todo none
 */

class Venues_model extends CI_Model {

    /**
     * Constructor for venues model class
     *loads database
     *
     * @param none
     * @return void
     * @todo none
     */
      public function __construct()

      {
        $this->load->database();

      }//end constructor




    /**
     * get_venues method retrieves added venues from database
     *loads database
     *
     * @param none
     * @return void
     * @todo none
     */
    public function get_venues($slug = FALSE)
    {

        
        
        if ($slug === FALSE)
        {
            $this->db->select('*');
            $this->db->from('sc_Venue');
            $this->db->join('sc_VenueType', 'sc_VenueType.VenueTypeKey = sc_Venue.VenueTypeKey');

            $query = $this->db->get();
            //$query = $this->db->get('sc_Venue');
            return $query->result_array();

{'fraction_non_alphanumeric': 0.14370811615785556, 'fraction_numerical': 0.010424422933730455, 'mean_word_length': 2.0708571428571427, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6420054', 'n_tokens_mistral': 905, 'n_tokens_neox': 872, 'n_words': 199}