<commit_before><?php
namespace application\model
{
	use application\model\base\PageType as PageTypeBase;
	
	class PageType extends PageTypeBase	
	{
		public function handleRecord($record)
		{
			if (!isset($record['status']))$record['status']=0;
			//For Updates
			if (isset($record['id']) && is_numeric($record['id']))
			{
				$this->update($record,array('id'=>$record['id']));
			}
			//For Inserts
			else
			{
				return $this->insertAssoc($record);
			}
			return false;
		}
	}
}
?><commit_msg>Removed handleRecord method. Its now based.<commit_after><?php
namespace application\model
{
	use application\model\base\PageType as PageTypeBase;
	
	class PageType extends PageTypeBase	
	{
		
	}
}
?>
{'fraction_non_alphanumeric': 0.15549215406562053, 'fraction_numerical': 0.0014265335235378032, 'mean_word_length': 4.086956521739131, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '115758', 'n_tokens_mistral': 264, 'n_tokens_neox': 230, 'n_words': 45}