/**
  * function actionList
  * call to render artist list page
  */
 public function actionList()
 {
     $countArtist = WapArtistModel::model()->countTopArtists();
     $artistPages = new CPagination($countArtist);
     $pageSize = Yii::app()->params['pageSize'];
     $artistPages->setPageSize($pageSize);
     $currentPage = $artistPages->getCurrentPage();
     $topArtists = WapArtistModel::getTopArtists($currentPage * $pageSize, $pageSize);
     $this->render('top', array('artists' => $topArtists, 'artistPages' => $artistPages));
 }