<commit_before><?php
/**
 * This file is part of the Taco Projects.
 *
 * Copyright (c) 2004, 2013 <NAME> (http://martin.takac.name)
 *
 * For the full copyright and license information, please view
 * the file LICENCE that was distributed with this source code.
 *
 * PHP version 5.3
 *
 * @author     <NAME> (<EMAIL>)
 */


namespace Taco\Nette\Controls\Table;


use Nette;


/**
 * Plain text column
 */
class TextColumn extends Nette\ComponentModel\Component implements KeyColumn
{


	/** @var string */
	private $value;

	/** @var string */
	private $header;


	/**
	 * Get label of column for head.
	 * @return string
	 */
	function getHeader()
	{
		return $this->header;
	}


	function setHeader($m)
	{
		$this->header = $m;
		return $this;
	}


	/**
	 * Content of current column
	 * @param string
	 */
	function setValue($m)
	{
		$this->value = $m;
		return $this;
	}


	/**
	 * Render cell
	 * @param mixed $record record
	 */
	function render()
	{
		echo $this->value;
	}


}<commit_msg>hack: Getter for value.<commit_after><?php
/**
 * This file is part of the Taco Projects.
 *
 * Copyright (c) 2004, 2013 <NAME> (http://martin.takac.name)
 *
 * For the full copyright and license information, please view
 * the file LICENCE that was distributed with this source code.
 *
 * PHP version 5.3
 *
 * @author     <NAME> (<EMAIL>)
 */


namespace Taco\Nette\Controls\Table;


use Nette;


/**
 * Plain text column
 */
class TextColumn extends Nette\ComponentModel\Component implements KeyColumn
{


	/** @var string */
	private $value;

	/** @var string */
	private $header;


	/**
	 * Get label of column for head.
	 * @return string
	 */
	function getHeader()
	{
		return $this->header;
	}


	function setHeader($m)
	{
		$this->header = $m;
		return $this;
	}


	/**
	 * Content of current column
	 * @param string
	 */
	function setValue($m)
	{
		$this->value = $m;
		return $this;
	}


	/**
	 * Content of current column
	 */
	function getValue()
	{
		return $this->value;
	}


	/**
	 * Render cell
	 * @param mixed $record record
	 */
	function render()
	{
		echo $this->value;
	}


}
{'fraction_non_alphanumeric': 0.14299332697807435, 'fraction_numerical': 0.009532888465204958, 'mean_word_length': 2.809437386569873, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 18, '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': '3103555', 'n_tokens_mistral': 783, 'n_tokens_neox': 698, 'n_words': 213}