<commit_before><?php defined('SYSPATH') or die('No direct access allowed.');
/**
 * Anqh Events API controller
 *
 * @package    Events
 * @author     <NAME>
 * @copyright  (c) 2010-2011 <NAME>
 * @license    http://www.opensource.org/licenses/mit-license.php MIT license
 */
class Anqh_Controller_Events_API extends Controller_API {

	/**
	 * @var  array  Fetchable fields
	 */
	public static $_fields = array(
		'id', 'name', 'homepage', 'stamp_begin', 'stamp_end', 'venue', 'city',
		'country', 'dj', 'info', 'age', 'price', 'price2', 'created', 'modified',
		'flyer_front', 'flyer_front_thumb', 'flyer_front_icon',
		'flyer_back', 'flyer_back_thumb', 'flyer_back_icon',
		'favorite_count', 'music', 'url'
	);

	/**
	 * @var  array  Orderable fields
	 */
	public static $_orderable = array(
		'id', 'name', 'stamp_begin', 'stamp_end', 'venue', 'city', 'country', 'age',
		'price', 'created', 'modified', 'favorite_count'
	);

	/**
	 * @var  array  Searchable fields
	 */
	public static $_searchable = array(
		'name', 'venue', 'city', 'dj'
	);


	/**
	 * Action: browse<commit_msg>Remove country_id<commit_after><?php defined('SYSPATH') or die('No direct access allowed.');
/**
 * Anqh Events API controller
 *
 * @package    Events
 * @author     <NAME>
 * @copyright  (c) 2010-2011 <NAME>
 * @license    http://www.opensource.org/licenses/mit-license.php MIT license
 */
class Anqh_Controller_Events_API extends Controller_API {

	/**
	 * @var  array  Fetchable fields
	 */
	public static $_fields = array(
		'id', 'name', 'homepage', 'stamp_begin', 'stamp_end', 'venue', 'city',
		'dj', 'info', 'age', 'price', 'price2', 'created', 'modified',
		'flyer_front', 'flyer_front_thumb', 'flyer_front_icon',
		'flyer_back', 'flyer_back_thumb', 'flyer_back_icon',
		'favorite_count', 'music', 'url'
	);

	/**
	 * @var  array  Orderable fields
	 */
	public static $_orderable = array(
		'id', 'name', 'stamp_begin', 'stamp_end', 'venue', 'city', 'age',
		'price', 'created', 'modified', 'favorite_count'
	);

	/**
	 * @var  array  Searchable fields
	 */
	public static $_searchable = array(
		'name', 'venue', 'city', 'dj'
	);


	/**
	 * Action: browse
{'fraction_non_alphanumeric': 0.18790697674418605, 'fraction_numerical': 0.008372093023255815, 'mean_word_length': 4.220873786407767, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '5281420', 'n_tokens_mistral': 816, 'n_tokens_neox': 755, 'n_words': 184}