<commit_before><?php
abstract class Vps_Controller_Action_Auto_Vpc_Form extends Vps_Controller_Action_Auto_Form
{
    protected $_buttons = array('save', 'saveBack');
    protected $_permissions = array('save', 'add');
    protected $_formName = 'Vpc_Abstract_Form';

    public function preDispatch()
    {
        if (!isset($this->_form)) {
            $this->_form = new $this->_formName(null, $this->class);
        }
        $this->_form->setBodyStyle('padding: 10px');
        $this->_form->setId($this->componentId);
        parent::preDispatch();
    }

    public function jsonIndexAction()
    {
        $this->view->vpc(Vpc_Admin::getInstance($this->class)->getExtConfig());
    }
}<commit_msg>form automatisch erstellen für komponente<commit_after><?php
abstract class Vps_Controller_Action_Auto_Vpc_Form extends Vps_Controller_Action_Auto_Form
{
    protected $_buttons = array('save', 'saveBack');
    protected $_permissions = array('save', 'add');
    protected $_formName;

    public function preDispatch()
    {
        if (!isset($this->_form)) {
            if (isset($this->_formName)) {
                $this->_form = new $this->_formName(null, $this->class);
            } else {
                $this->_form = Vpc_Abstract_Form::createComponentForm(null, $this->class);
            }
        }
        
        $this->_form->setBodyStyle('padding: 10px');
        $this->_form->setId($this->componentId);
        parent::preDispatch();
    }

    public function jsonIndexAction()
    {
        $this->view->vpc(Vpc_Admin::getInstance($this->class)->getExtConfig());
    }
}
{'fraction_non_alphanumeric': 0.150625, 'fraction_numerical': 0.0025, 'mean_word_length': 3.063451776649746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 32, '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': '4997278', 'n_tokens_mistral': 475, 'n_tokens_neox': 467, 'n_words': 77}