Seo

Contracts

RobotsRepositoryContract

Repository for robots.txt

Namespace

Plenty\Modules\Webshop\Seo\Contracts

Methods

public findByWebstoreId(int $webstoreId):Robots
Parameters
int $webstoreId
public updateByWebstoreId(int $webstoreId, string $data):Robots
Parameters
int $webstoreId
string $data

SitemapConfigurationRepositoryContract

Repository for sitemap configuration

Namespace

Plenty\Modules\Webshop\Seo\Contracts

Methods

public findByWebstoreId(int $webstoreId):SitemapConfiguration
Parameters
int $webstoreId
public updateByWebstoreId(int $webstoreId, array $data = []):SitemapConfiguration
Parameters
int $webstoreId
array $data

Models

Robots

The robots model

Namespace

Plenty\Modules\Webshop\Seo\Models

Properties

Type Name Description
string value

Methods

public toArray()

Returns this model as an array.

SitemapConfiguration

The sitemap configuration model

Namespace

Plenty\Modules\Webshop\Seo\Models

Properties

Type Name Description
int contentCategory
int itemCategory
int item
int blog

Methods

public toArray()

Returns this model as an array.