<commit_before><?php
App::uses('AppModel', 'Model');

class AclGroup extends AclPermissionAppModel {
    public $actsAs = array('Acl' => array('type' => 'requester'));

    public $useTable = 'groups';

    public function parentNode() {
        return null;
    }
}<commit_msg>Added a beforeFind function that reads the userRoleModel variable to set the underlying table for the model.<commit_after><?php
App::uses('AppModel', 'Model');

class AclGroup extends AclPermissionAppModel {
    public $actsAs = array('Acl' => array('type' => 'requester'));

    public $useTable = false;

    public function beforeFind($query = array()) {
		$this->useTable = Inflector::tableize(Configure::read('userRoleModel'));
    }

    public function parentNode() {
        return null;
    }
}
{'fraction_non_alphanumeric': 0.14084507042253522, 'fraction_numerical': 0.0, 'mean_word_length': 4.283783783783784, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '720769', 'n_tokens_mistral': 229, 'n_tokens_neox': 224, 'n_words': 62}