<commit_before><?php defined('BX_DOL') or die('hack attempt');
/**
 * Copyright (c) UNA, Inc - https://una.io
 * MIT License - https://opensource.org/licenses/MIT
 *
 * @defgroup    PaidLevels Paid Levels
 * @ingroup     UnaModules
 *
 * @{
 */

class BxAclDb extends BxDolModuleDb
{
    protected $_oConfig;

    /*
     * Constructor.
     */
    function __construct(&$oConfig)
    {
        parent::__construct($oConfig);

        $this->_oConfig = $oConfig;
    }

	public function getLevels($aParams, $bReturnCount = false)
    {
        $aMethod = array('name' => 'getAll', 'params' => array(0 => 'query'));
        $sSelectClause = $sJoinClause = $sWhereClause = $sOrderClause = $sLimitClause = "";

        $sSelectClause = "
			`tal`.`ID` AS `id`,
			`tal`.`Name` AS `name`,
			`tal`.`Icon` AS `icon`,
			`tal`.`Description` AS `description`,
			`tal`.`Active` AS `active`,
			`tal`.`Purchasable` AS `purchasable`,
			`tal`.`Removable` AS `removable`,
			`tal`.`QuotaSize` AS `quota_size`,
			`tal`.`QuotaNumber` AS `quota_number`,
			`tal`.`QuotaMaxFileSize` AS `quota_max_file_size`,
			`tal`.`Order` AS `order`";<commit_msg>Add missing access modifier<commit_after><?php defined('BX_DOL') or die('hack attempt');
/**
 * Copyright (c) UNA, Inc - https://una.io
 * MIT License - https://opensource.org/licenses/MIT
 *
 * @defgroup    PaidLevels Paid Levels
 * @ingroup     UnaModules
 *
 * @{
 */

class BxAclDb extends BxDolModuleDb
{
    protected $_oConfig;

    public function __construct(&$oConfig)
    {
        parent::__construct($oConfig);

        $this->_oConfig = $oConfig;
    }

	public function getLevels($aParams, $bReturnCount = false)
    {
        $aMethod = array('name' => 'getAll', 'params' => array(0 => 'query'));
        $sSelectClause = $sJoinClause = $sWhereClause = $sOrderClause = $sLimitClause = "";

        $sSelectClause = "
			`tal`.`ID` AS `id`,
			`tal`.`Name` AS `name`,
			`tal`.`Icon` AS `icon`,
			`tal`.`Description` AS `description`,
			`tal`.`Active` AS `active`,
			`tal`.`Purchasable` AS `purchasable`,
			`tal`.`Removable` AS `removable`,
			`tal`.`QuotaSize` AS `quota_size`,
			`tal`.`QuotaNumber` AS `quota_number`,
			`tal`.`QuotaMaxFileSize` AS `quota_max_file_size`,
			`tal`.`Order` AS `order`";
{'fraction_non_alphanumeric': 0.17964601769911503, 'fraction_numerical': 0.0008849557522123894, 'mean_word_length': 3.348076923076923, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '4654294', 'n_tokens_mistral': 866, 'n_tokens_neox': 824, 'n_words': 164}