public static function argPaged(Query $query, $value, &$q) { $query->setFrom(($value - 1) * $q['posts_per_page']); }