<commit_before><?php

require_once 'Site/SiteObject.php';
require_once 'Site/exceptions/SiteInvalidPropertyException.php';

/**
 * Container for layout properties
 *
 * @package   Site
 * @copyright 2006 silverorange
 * @license   http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
 */
class SiteLayoutData extends SiteObject
{
	// {{{ private properties

	private $_properties = array();
	
	// }}}
	// {{{ public function display()

	public function display($filename)
	{
		require_once $filename;
	}

	// }}}
	// {{{ private function __get()

	/**
	 * @throws SiteInvalidPropertyException<commit_msg>There's no reason this should be a require_once and it messes up something like the MassMailing if a layout is used and looped to display.<commit_after><?php

require_once 'Site/SiteObject.php';
require_once 'Site/exceptions/SiteInvalidPropertyException.php';

/**
 * Container for layout properties
 *
 * @package   Site
 * @copyright 2006 silverorange
 * @license   http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
 */
class SiteLayoutData extends SiteObject
{
	// {{{ private properties

	private $_properties = array();
	
	// }}}
	// {{{ public function display()

	public function display($filename)
	{
		require $filename;
	}

	// }}}
	// {{{ private function __get()

	/**
	 * @throws SiteInvalidPropertyException
{'fraction_non_alphanumeric': 0.12874251497005987, 'fraction_numerical': 0.008982035928143712, 'mean_word_length': 3.9888059701492535, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4249456', 'n_tokens_mistral': 417, 'n_tokens_neox': 387, 'n_words': 105}