<commit_before><?php

/*
This partial is used to generate the most common list type views
found in the admin.  It expects the following variables to have been set
as part of when the view was created.  As in View::make()->with()

	- title (optional): The title of this page.
	
	- listing : The data that is being iterated over.  This may or may
		not be paginated
		
	- controller : A string depicting the controller.  This is used in
		generating links.  I.e. 'admin.news'
		
	- columns (optional) : An array of key value pairs.  The keys are the title of
		the column.  The values are the database column or method to call
		to find the data.  For instance, when creating a news listing, 
		you might expect columns to look like:
		
			array('Title'=>'title', 'Abstract'=>'create_abstract')
		
		Where "create_abstract" would be a method defined on the model that
		truncates the body of the news article.
		
		Also, remember that 'title' may invoke a the Decoy\Base_Model method 
		of title().  This in turn looks for columns named using common title names.
		
	- auto_link ['first' (default), 'all', false] : Surround columns
	  in link tags
	  	
	- convert_dates ['date' (default), 'datetime', 'time', false] : Convert
	  columns that look like dates into readable versions
	  
	- layout ['full' (default), 'sidebar', 'control group'] : How to render the listing
	
	- parent_id (optional) : When using the non-full layout, this informs
	  how to create the new link.  If not defined, it is pulled from the last
	  segment of the current URL
	  
  - parent_controller (optional) - When using the non-full layout, informs logic needed
    for many to many forms.  Generally this is calculated automatically
	  
	- description (optional) : A description for the view
	<commit_msg>This was the old way the controller looked<commit_after><?php

/*
This partial is used to generate the most common list type views
found in the admin.  It expects the following variables to have been set
as part of when the view was created.  As in View::make()->with()

	- title (optional): The title of this page.
	
	- listing : The data that is being iterated over.  This may or may
		not be paginated
		
	- controller : A string depicting the controller.  This is used in
		generating links.  I.e. 'Admin\NewsController'
		
	- columns (optional) : An array of key value pairs.  The keys are the title of
		the column.  The values are the database column or method to call
		to find the data.  For instance, when creating a news listing, 
		you might expect columns to look like:
		
			array('Title'=>'title', 'Abstract'=>'create_abstract')
		
		Where "create_abstract" would be a method defined on the model that
		truncates the body of the news article.
		
		Also, remember that 'title' may invoke a the Decoy\Base_Model method 
		of title().  This in turn looks for columns named using common title names.
		
	- auto_link ['first' (default), 'all', false] : Surround columns
	  in link tags
	  	
	- convert_dates ['date' (default), 'datetime', 'time', false] : Convert
	  columns that look like dates into readable versions
	  
	- layout ['full' (default), 'sidebar', 'control group'] : How to render the listing
	
	- parent_id (optional) : When using the non-full layout, this informs
	  how to create the new link.  If not defined, it is pulled from the last
	  segment of the current URL
	  
  - parent_controller (optional) - When using the non-full layout, informs logic needed
    for many to many forms.  Generally this is calculated automatically
	  
	- description (optional) : A description for the view
	
{'fraction_non_alphanumeric': 0.07216208714959756, 'fraction_numerical': 0.0, 'mean_word_length': 3.3737864077669903, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '6425312', 'n_tokens_mistral': 1039, 'n_tokens_neox': 947, 'n_words': 511}