protected function getAllowedPostedAttributes() {
        $arrAddAttributes = [];
        $arrAllowedAttributes = [];
        foreach ($this->config['attributes'] as $attr) {
            $arrAllowedAttributes[] = $attr['name'];
        }
        
        foreach ($_POST as $key => $val) {
            if (!in_array($key, $arrAllowedAttributes)) {
                continue;
            }
            $arrAddAttributes[$key] = $val;
        }
        return $arrAddAttributes;
    }