protected function InitForm()
    {
        $this->htmlCode = $this->LoadElement();
        $name = 'Code';
        $this->AddField(new Textarea($name, $this->htmlCode->GetCode()));
        $this->SetRequired($name);
        $this->AddCssClassField();
        $this->AddCssIDField();
        $this->AddSubmit();
    }
protected function InitForm()
    {
        $this->htmlCode = $this->LoadElement();
        $name = 'Code';
        $this->AddField(new Textarea($name, $this->htmlCode->GetCode()));
        $this->SetRequired($name);
        $this->AddCssClassField();
        $this->AddCssIDField();
        $this->AddSubmit();
    }
protected function InitForm ( ) { $ this -> htmlCode = $ this -> LoadElement ( ) ; $ name = 'Code' ; $ this -> AddField ( new Textarea ( $ name , $ this -> htmlCode -> GetCode ( ) ) ) ; $ this -> SetRequired ( $ name ) ; $ this -> AddCssClassField ( ) ; $ this -> AddCssIDField ( ) ; $ this -> AddSubmit ( ) ; }
Initializes the html code content form
Initializes the html code content form