private function AddSitemapActiveField()
    {
        $name = 'SitemapActive';
        $field = new Checkbox($name);
        if (!$this->site->Exists() || $this->site->GetSitemapActive())
        {
            $field->SetChecked();
        }
        $this->AddField($field);
    }
private function AddSitemapActiveField()
    {
        $name = 'SitemapActive';
        $field = new Checkbox($name);
        if (!$this->site->Exists() || $this->site->GetSitemapActive())
        {
            $field->SetChecked();
        }
        $this->AddField($field);
    }
private function AddSitemapActiveField ( ) { $ name = 'SitemapActive' ; $ field = new Checkbox ( $ name ) ; if ( ! $ this -> site -> Exists ( ) || $ this -> site -> GetSitemapActive ( ) ) { $ field -> SetChecked ( ) ; } $ this -> AddField ( $ field ) ; }
Adds the sitemap active checkbox
Adds the sitemap active checkbox