<commit_before><?php

/* vim: set noexpandtab tabstop=4 shiftwidth=4 foldmethod=marker: */

require_once 'Swat/SwatUIObject.php';
require_once 'Swat/SwatHtmlTag.php';
require_once 'Swat/exceptions/SwatInvalidClassException.php';

/**
 * Notebook widget for containing Notebook pages
 *
 * @package   Swat
 * @copyright 2007 silverorange
 * @license   http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
 */
class SwatNoteBook extends SwatWidget implements SwatUIParent
{
	// {{{ constants

	/**
	 * Top Position
	 *
	 * The constant used to represent tabs on top.
	 */
	const POSITION_TOP = 1;

	/**
	 * Right Position
	 *
	 * The constant used to represent tabs on the right.
	 */
	const POSITION_RIGHT = 2;

	/**
	 * Left Position
	 *
	 * The constant used to represent tabs on the left.
	 */
	const POSITION_LEFT = 3;

	/**
	 * Bottom Position
	 *
	 * The constant used to represent tabs on the bottom.
	 */
	const POSITION_BOTTOM = 4;

	// }}}
	// {{{ public properties

	/**
	 * Visible
	 *
	 * Whether the widget is display. All widgets should respect this.
	 *
	 * @var boolean
	 */
	public $visible = true;

	/**
	 * A non-visible unique id for this widget, or null
	 *
	 * @var string
	 */
	public $id = null;

	/**
	 * A value containing the desired position of the tabs
	 *
	 * @var constant
	 */
	public $tab_position = self::POSITION_TOP;<commit_msg>This is still an integer even though it is set to a constant.<commit_after><?php

/* vim: set noexpandtab tabstop=4 shiftwidth=4 foldmethod=marker: */

require_once 'Swat/SwatUIObject.php';
require_once 'Swat/SwatHtmlTag.php';
require_once 'Swat/exceptions/SwatInvalidClassException.php';

/**
 * Notebook widget for containing Notebook pages
 *
 * @package   Swat
 * @copyright 2007 silverorange
 * @license   http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
 */
class SwatNoteBook extends SwatWidget implements SwatUIParent
{
	// {{{ constants

	/**
	 * Top Position
	 *
	 * The constant used to represent tabs on top.
	 */
	const POSITION_TOP = 1;

	/**
	 * Right Position
	 *
	 * The constant used to represent tabs on the right.
	 */
	const POSITION_RIGHT = 2;

	/**
	 * Left Position
	 *
	 * The constant used to represent tabs on the left.
	 */
	const POSITION_LEFT = 3;

	/**
	 * Bottom Position
	 *
	 * The constant used to represent tabs on the bottom.
	 */
	const POSITION_BOTTOM = 4;

	// }}}
	// {{{ public properties

	/**
	 * Visible
	 *
	 * Whether the widget is display. All widgets should respect this.
	 *
	 * @var boolean
	 */
	public $visible = true;

	/**
	 * A non-visible unique id for this widget, or null
	 *
	 * @var string
	 */
	public $id = null;

	/**
	 * A value containing the desired position of the tabs
	 *
	 * @var integer 
	 */
	public $tab_position = self::POSITION_TOP;
{'fraction_non_alphanumeric': 0.11242816091954023, 'fraction_numerical': 0.008620689655172414, 'mean_word_length': 3.0071942446043165, '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': '1031452', 'n_tokens_mistral': 976, 'n_tokens_neox': 857, 'n_words': 285}