ePages 7.19.0 - DE_EPAGES/ShopConfiguration/API/Object/PagerDomainSearch.pm

Package DE_EPAGES::ShopConfiguration::API::Object::PagerDomainSearch

Object interface for searching shops by its domains.

Base
DE_EPAGES::Presentation::API::Object::Pager

Functions

countItems
items
replaceWildcards

countItems

Returns the number of sites found by search.

Syntax
$Count = $Pager->countItems;
Return
$Count (integer)
number of items

items

Return a list of all found sites on a page.

Syntax
$aSites = $Pager->items;
Input
$PageNumber (integer)
current page number
Return
$aSites (ref.array.object)
list of sites

replaceWildcards

replaces * with %, ? with _ and adds on begin and end a %.

Syntax
my $SQLString = self->replaceWildcards($SearchString);
Input
$SearchString (string)
search string can include * and ?
Return
$SQLString (string)
string for sql statement