/**
  * @param int $currentPage
  */
 public function favorites($currentPage = 1)
 {
     $this->loadMainData();
     $perPage = 50;
     $offset = $currentPage > 1 ? ($currentPage - 1) * $perPage : 0;
     $this->data['pageType'] = 'favorites';
     $this->data['favorite_tweets'] = true;
     $this->data['client'] = $_GET['favorites'];
     $this->data['tweets'] = $this->model->getFavoriteTweets($offset, $perPage);
     $this->data['tweetsTotalCount'] = $this->data['totalFavoriteTweets'];
     $pageBaseUrl = $this->data['config']['system']['baseUrl'] . 'favorites/';
     $this->data['pagination'] = $this->paginator->paginate($pageBaseUrl, $this->data['tweetsTotalCount'], $currentPage, $perPage);
     $this->data['title'] = $this->i18n->trans('favorite_tweets', ['ucf']);
     $this->render('index.php');
 }