<commit_before><?php defined('SYSPATH') OR die('No direct script access.');

/**
 * Holds a list of images which belong to a slideshow slot.
 *
 *
 * @package	BoomCMS
 * @category	Chunks
 * @category	Models
 * @author	<NAME>
 * @copyright	Hoop Associates
 *
 */
class Boom_Model_Chunk_Slideshow_Slide extends ORM
{
	/**
	* Properties to create relationships with Kohana's ORM
	*/
	protected $_has_one = array(
		'asset'	=>	array('model' => 'asset', 'foreign_key' => 'id')
	);
	protected $_table_columns = array(
		'id'		=>	'',
		'asset_id'	=>	'',
		'url'		=>	'',
		'chunk_id'	=>	'',
		'caption'	=>	'',
		'title'		=>	'',
	);

	protected $_table_name = 'chunk_slideshow_slides';

	public function filters()
	{
		return array(
			'caption'	=> array(
				array('strip_tags'),
			),
		);<commit_msg>Fixed bug in slideshow chunks<commit_after><?php defined('SYSPATH') OR die('No direct script access.');

/**
 * Holds a list of images which belong to a slideshow slot.
 *
 *
 * @package	BoomCMS
 * @category	Chunks
 * @category	Models
 * @author	<NAME>
 * @copyright	Hoop Associates
 *
 */
class Boom_Model_Chunk_Slideshow_Slide extends ORM
{
	/**
	* Properties to create relationships with Kohana's ORM
	*/
	protected $_has_one = array(
		'asset'	=>	array('model' => 'Asset', 'foreign_key' => 'id')
	);
	protected $_table_columns = array(
		'id'		=>	'',
		'asset_id'	=>	'',
		'url'		=>	'',
		'chunk_id'	=>	'',
		'caption'	=>	'',
		'title'		=>	'',
	);

	protected $_table_name = 'chunk_slideshow_slides';

	public function filters()
	{
		return array(
			'caption'	=> array(
				array('strip_tags'),
			),
		);
{'fraction_non_alphanumeric': 0.17331670822942644, 'fraction_numerical': 0.0, 'mean_word_length': 3.7626112759643915, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 25, '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': '7579352', 'n_tokens_mistral': 650, 'n_tokens_neox': 607, 'n_words': 140}