original_string: private function AddArticlePageSelector()
      {
          $name = 'ArticlePage';
          $this->articlePageSelector = new PageSelector($name, Trans($this->Label($name)), 
                  $this->articleList->GetArticlePage());
          
          $this->articlePageSelector->SetSite($this->Page()->GetSite());
          $this->Elements()->AddElement($name, $this->articlePageSelector);
      }
code: private function AddArticlePageSelector()
      {
          $name = 'ArticlePage';
          $this->articlePageSelector = new PageSelector($name, Trans($this->Label($name)), 
                  $this->articleList->GetArticlePage());
          
          $this->articlePageSelector->SetSite($this->Page()->GetSite());
          $this->Elements()->AddElement($name, $this->articlePageSelector);
      }
code_tokens: private function AddArticlePageSelector ( ) { $ name = 'ArticlePage' ; $ this -> articlePageSelector = new PageSelector ( $ name , Trans ( $ this -> Label ( $ name ) ) , $ this -> articleList -> GetArticlePage ( ) ) ; $ this -> articlePageSelector -> SetSite ( $ this -> Page ( ) -> GetSite ( ) ) ; $ this -> Elements ( ) -> AddElement ( $ name , $ this -> articlePageSelector ) ; }
docstring: Adds the article page selector element
docstring_tokens: Adds the article page selector element