<commit_before><?php
class Vpc_Basic_ImageEnlarge_EnlargeTag_Form extends Vpc_Abstract_Composite_Form
{
    protected function _initFields()
    {
        if (Vpc_Abstract::getSetting($this->getClass(), 'imageTitle')) {
            $this->add(new Vps_Form_Field_TextArea('title', trlVps('Image text')))
                ->setWidth(350)
                ->setHeight(80);
        }
        if (Vpc_Abstract::getSetting($this->getClass(), 'alternativePreviewImage')) {
            $fs = $this->add(new Vps_Form_Container_FieldSet(trlVps('Alternative Preview Image')))
                    ->setCheckboxToggle(true)
                    ->setCheckboxName('preview_image');

            $fs->add(new Vpc_Abstract_Image_Form('image', $this->getClass()))
                ->setIdTemplate('{0}');
        }

        //absichtlich nicht aufrufen: parent::_initFields();
        //benötigen wir hier nicht, und abgeleitete komponenten können es noch tun
    }
}
<commit_msg>call parent method<commit_after><?php
class Vpc_Basic_ImageEnlarge_EnlargeTag_Form extends Vpc_Abstract_Composite_Form
{
    protected function _initFields()
    {
        if (Vpc_Abstract::getSetting($this->getClass(), 'imageTitle')) {
            $this->add(new Vps_Form_Field_TextArea('title', trlVps('Image text')))
                ->setWidth(350)
                ->setHeight(80);
        }
        if (Vpc_Abstract::getSetting($this->getClass(), 'alternativePreviewImage')) {
            $fs = $this->add(new Vps_Form_Container_FieldSet(trlVps('Alternative Preview Image')))
                    ->setCheckboxToggle(true)
                    ->setCheckboxName('preview_image');

            $fs->add(new Vpc_Abstract_Image_Form('image', $this->getClass()))
                ->setIdTemplate('{0}');
        }

        parent::_initFields();
    }
}

{'fraction_non_alphanumeric': 0.13480662983425415, 'fraction_numerical': 0.0066298342541436465, 'mean_word_length': 2.703476482617587, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '4217477', 'n_tokens_mistral': 547, 'n_tokens_neox': 535, 'n_words': 80}