<commit_before><?php
/**
 * @version		$Id$
 * @category	Nooku
 * @package		Nooku_Server
 * @subpackage	Users
 * @copyright	Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		http://www.nooku.org
 */

/**
 * Users Database Table Class
 *
 * @author      <NAME> <http://nooku.assembla.com/profile/gergoerdosi>
 * @category	Nooku
 * @package		Nooku_Server
 * @subpackage	Users
 */
class ComUsersDatabaseTableUsers extends KDatabaseTableDefault
{
	public function __construct(KConfig $config)
	{
	    parent::__construct($config);

	    $this->getColumn('users_group_id')->default = 0;
	    $this->getColumn('enabled')->default = 1;
	}

    protected function _initialize(KConfig $config)
	{
		$config->append(array(
			'name'				=> 'users',
			'base' 				=> 'users',
			'column_map'		=> array(
				'group_name'		=> 'usertype'
			),
			'behaviors' => array('modifiable', 'lockable', 'identifiable', 'authenticatable')
		));
		
		parent::_initialize($config);
	}
}<commit_msg>Cleanup.<commit_after><?php
/**
 * @version		$Id$
 * @category	Nooku
 * @package		Nooku_Server
 * @subpackage	Users
 * @copyright	Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		http://www.nooku.org
 */

/**
 * Users Database Table Class
 *
 * @author      Gergo Erdosi <http://nooku.assembla.com/profile/gergoerdosi>
 * @category	Nooku
 * @package		Nooku_Server
 * @subpackage	Users
 */
class ComUsersDatabaseTableUsers extends KDatabaseTableDefault
{
	public function __construct(KConfig $config)
	{
	    parent::__construct($config);

	    $this->getColumn('users_group_id')->default = 0;
	    $this->getColumn('enabled')->default = 1;
	}

    protected function _initialize(KConfig $config)
	{
		$config->append(array(
			'name'				=> 'users',
			'base' 				=> 'users',
			'behaviors' => array('modifiable', 'lockable', 'identifiable', 'authenticatable')
		));
		
		parent::_initialize($config);
	}
}
{'fraction_non_alphanumeric': 0.1633045148895293, 'fraction_numerical': 0.010566762728146013, 'mean_word_length': 3.821759259259259, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2892478', 'n_tokens_mistral': 803, 'n_tokens_neox': 729, 'n_words': 137}