original_string: private function InitCategoryArticles()
      {
          $tblArticle = Article::Schema()->Table();
          $sql = Access::SqlBuilder();
          $orderBy = $sql->OrderList($sql->OrderDesc($tblArticle->Field('Created')));
          $this->articles = Article::Schema()->FetchByCategory(false, $this->category, $orderBy, null, $this->ArticleOffset(), $this->perPage);
          $this->articlesTotal = Article::Schema()->CountByCategory(false, $this->category);
      }
code: private function InitCategoryArticles()
      {
          $tblArticle = Article::Schema()->Table();
          $sql = Access::SqlBuilder();
          $orderBy = $sql->OrderList($sql->OrderDesc($tblArticle->Field('Created')));
          $this->articles = Article::Schema()->FetchByCategory(false, $this->category, $orderBy, null, $this->ArticleOffset(), $this->perPage);
          $this->articlesTotal = Article::Schema()->CountByCategory(false, $this->category);
      }
code_tokens: private function InitCategoryArticles ( ) { $ tblArticle = Article :: Schema ( ) -> Table ( ) ; $ sql = Access :: SqlBuilder ( ) ; $ orderBy = $ sql -> OrderList ( $ sql -> OrderDesc ( $ tblArticle -> Field ( 'Created' ) ) ) ; $ this -> articles = Article :: Schema ( ) -> FetchByCategory ( false , $ this -> category , $ orderBy , null , $ this -> ArticleOffset ( ) , $ this -> perPage ) ; $ this -> articlesTotal = Article :: Schema ( ) -> CountByCategory ( false , $ this -> category ) ; }
docstring: Initializes the article array by category
docstring_tokens: Initializes the article array by category