/** * Initializes a new priority provider which calculates the post priority based on the popularity by the PopularityContest Plugin * * @param $totalComments int The total number of comments of all posts * @param $totalPosts int The total number of posts * @since 3.0 * @access public * @author Arne Brachhold */ function GoogleSitemapGeneratorPrioByPopularityContestProvider($totalComments, $totalPosts) { parent::GoogleSitemapGeneratorPrioProviderBase($totalComments, $totalPosts); }
/** * Initializes a new priority provider which calculates the post priority based on the popularity by the PopularityContest Plugin * * @param $totalComments int The total number of comments of all posts * @param $totalPosts int The total number of posts * @since 3.0 */ public function __construct($totalComments, $totalPosts) { parent::__construct($totalComments, $totalPosts); }