Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
Catalog
Test
Block
Category
ProductPagination.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Catalog\Test\Block\Category
;
8
9
use Magento\Mtf\Block\Block;
10
use Magento\Mtf\Client\ElementInterface;
11
15
class
ProductPagination
extends
Block
16
{
22
protected
$nextPageSelector
=
'.item.current + .item a'
;
23
29
public
function
getNextPage
()
30
{
31
$nextPageItem = $this->_rootElement->find($this->nextPageSelector);
32
if
($nextPageItem->isVisible()) {
33
return
$nextPageItem;
34
}
else
{
35
return
null
;
36
}
37
}
38
}
Magento\Catalog\Test\Block\Category\ProductPagination
Definition:
ProductPagination.php:15
Magento\Catalog\Test\Block\Category\ProductPagination\$nextPageSelector
$nextPageSelector
Definition:
ProductPagination.php:22
Magento\Catalog\Test\Block\Category\ProductPagination\getNextPage
getNextPage()
Definition:
ProductPagination.php:29
Magento\Catalog\Test\Block\Category
Definition:
ProductPagination.php:7