<commit_before><?php

class Vps_Controller_Action_Component_PageEditController extends Vps_Controller_Action_Auto_Form
{
    protected $_permissions = array('save' => true, 'add' => true);
    protected $_tableName = 'Vps_Dao_Pages';

    protected function _initFields()
    {
        $types = array();
        $classes = Vpc_Abstract::getChildComponentClasses(Vps_Component_Data_Root::getComponentClass(), 'page');
        foreach ($classes as $component=>$class) {
            $name = Vpc_Abstract::getSetting($class, 'componentName');
            if ($name) {<commit_msg>Bug in Seiteneigenschaften bearbeiten<commit_after><?php

class Vps_Controller_Action_Component_PageEditController extends Vps_Controller_Action_Auto_Form
{
    protected $_permissions = array('save' => true, 'add' => true);
    protected $_tableName = 'Vps_Dao_Pages';

    protected function _initFields()
    {
        $types = array();
        $generator = current(Vps_Component_Generator_Abstract::getInstances(
            Vps_Component_Data_Root::getComponentClass(), array('generator' => 'page'))
        );
        $classes = $generator->getChildComponentClasses();
        foreach ($classes as $component=>$class) {
            $name = Vpc_Abstract::getSetting($class, 'componentName');
            if ($name) {
{'fraction_non_alphanumeric': 0.12037037037037036, 'fraction_numerical': 0.0, 'mean_word_length': 4.106299212598425, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '368574', 'n_tokens_mistral': 361, 'n_tokens_neox': 362, 'n_words': 69}