<commit_before><?php
class phpFrame_Database_Listfilter {
	private $_orderby=null;
	private $_orderdir=null;
	private $_limit=null;
	private $_limitstart=null;
	private $_search=null;
	private $_total=null;
	
	/**
	 * Constructor
	 * 
	 * @param	string	$_orderby
	 * @param	string	$_orderdir
	 * @param	int		$_limit
	 * @param	int		$_limitstart
	 * @param	string	$_search
	 * @return	void
	 */
	public function __construct($_orderby, $_orderdir="ASC", $_limit=-1, $_limitstart=0, $_search="") {
		$this->_orderby = (string) $_orderby;
		$this->_orderdir = (string) $_orderdir;
		$this->_limit = (int) $_limit;
		$this->_limitstart = (int) $_limitstart;
		$this->_search = (string) $_search;
	}
	
	/**
	 * Set total number of records for the subset
	 * <commit_msg>Minor update to list filter class to allow not require $orderby argument in constructor. Default value is "".<commit_after><?php
class phpFrame_Database_Listfilter {
	private $_orderby=null;
	private $_orderdir=null;
	private $_limit=null;
	private $_limitstart=null;
	private $_search=null;
	private $_total=null;
	
	/**
	 * Constructor
	 * 
	 * @param	string	$_orderby
	 * @param	string	$_orderdir
	 * @param	int		$_limit
	 * @param	int		$_limitstart
	 * @param	string	$_search
	 * @return	void
	 */
	public function __construct($_orderby="", $_orderdir="ASC", $_limit=-1, $_limitstart=0, $_search="") {
		$this->_orderby = (string) $_orderby;
		$this->_orderdir = (string) $_orderdir;
		$this->_limit = (int) $_limit;
		$this->_limitstart = (int) $_limitstart;
		$this->_search = (string) $_search;
	}
	
	/**
	 * Set total number of records for the subset
	 * 
{'fraction_non_alphanumeric': 0.14628149969268592, 'fraction_numerical': 0.002458512599877074, 'mean_word_length': 4.355263157894737, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '2965832', 'n_tokens_mistral': 585, 'n_tokens_neox': 542, 'n_words': 143}