<commit_before><?php
/**
 * Created by PhpStorm.
 * User: dimaninc
 * Date: 29.07.2015
 * Time: 14:58
 */

class diSlugsPage extends diAdminBasePage
{
	protected $options = [
		"filters" => [
			"defaultSorter" => [
				"sortBy" => "full_slug",
				"dir" => "ASC",
			],
		],
	];

	protected function initTable()
	{
		$this->setTable("slugs");
	}

	protected function setupFilters()
	{
		$this->getFilters()
			->addFilter([
				"field" => "id",
				"type" => "int",
				"title" => "ID",
			])
			->addFilter([
				"field" => "slug",
				"type" => "string",<commit_msg>diSlugsPage: target filters<commit_after><?php
/**
 * Created by PhpStorm.
 * User: dimaninc
 * Date: 29.07.2015
 * Time: 14:58
 */

class diSlugsPage extends diAdminBasePage
{
	protected $options = [
		"filters" => [
			"defaultSorter" => [
				"sortBy" => "full_slug",
				"dir" => "ASC",
			],
		],
	];

	protected function initTable()
	{
		$this->setTable("slugs");
	}

	protected function setupFilters()
	{
		$this->getFilters()
			->addFilter([
				"field" => "id",
				"type" => "int",
				"title" => "ID",
			])
			->addFilter([
				"field" => "target_type",
				"type" => "int",
				"title" => "Target type",
			])
			->addFilter([
				"field" => "target_id",
				"type" => "int",
				"title" => "Target ID",
			])
			->addFilter([
				"field" => "slug",
				"type" => "string",
{'fraction_non_alphanumeric': 0.21755162241887904, 'fraction_numerical': 0.017699115044247787, 'mean_word_length': 2.866096866096866, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, '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': '5606094', 'n_tokens_mistral': 631, 'n_tokens_neox': 522, 'n_words': 101}