src/Forms/Modules/Backend/TextareaForm.php
protected function SaveElement()
    {
        $this->textarea->SetLabel($this->Value('Label'));
        $this->textarea->SetName($this->Value('Name'));
        $this->textarea->SetValue($this->Value('Value'));
        $this->textarea->SetPattern($this->Value('Pattern'));
        $this->textarea->SetMinLength((int)$this->Value('MinLength'));
        $this->textarea->SetMaxLength((int)$this->Value('MaxLength'));
        $this->textarea->SetRequired((bool)$this->Value('Required'));
        $this->textarea->SetDisableFrontendValidation((bool)$this->Value('DisableFrontendValidation'));
        return $this->textarea;
    }
protected function SaveElement()
    {
        $this->textarea->SetLabel($this->Value('Label'));
        $this->textarea->SetName($this->Value('Name'));
        $this->textarea->SetValue($this->Value('Value'));
        $this->textarea->SetPattern($this->Value('Pattern'));
        $this->textarea->SetMinLength((int)$this->Value('MinLength'));
        $this->textarea->SetMaxLength((int)$this->Value('MaxLength'));
        $this->textarea->SetRequired((bool)$this->Value('Required'));
        $this->textarea->SetDisableFrontendValidation((bool)$this->Value('DisableFrontendValidation'));
        return $this->textarea;
    }
protected function SaveElement ( ) { $ this -> textarea -> SetLabel ( $ this -> Value ( 'Label' ) ) ; $ this -> textarea -> SetName ( $ this -> Value ( 'Name' ) ) ; $ this -> textarea -> SetValue ( $ this -> Value ( 'Value' ) ) ; $ this -> textarea -> SetPattern ( $ this -> Value ( 'Pattern' ) ) ; $ this -> textarea -> SetMinLength ( ( int ) $ this -> Value ( 'MinLength' ) ) ; $ this -> textarea -> SetMaxLength ( ( int ) $ this -> Value ( 'MaxLength' ) ) ; $ this -> textarea -> SetRequired ( ( bool ) $ this -> Value ( 'Required' ) ) ; $ this -> textarea -> SetDisableFrontendValidation ( ( bool ) $ this -> Value ( 'DisableFrontendValidation' ) ) ; return $ this -> textarea ; }
Attaches the basic properties to the textarea element
@return ContentTextarea Returns the textarea content element
Attaches the basic properties to the textarea element