This module is deprecated. Use module 'Shop Builder' instead.
Plenty\Modules\ContentBuilder\Contracts
public listContentsLinks(int $page = 1, int $itemsPerPage = 50, array $with = [], array $filters = []):PaginatedResult
int | $page | |
int | $itemsPerPage | |
array | $with | |
array | $filters |
public getContentLink(int $contentLinkId):void
int | $contentLinkId |
public createContentLink(array $data):void
array | $data |
public updateContentLink(array $data, int $contentLinkId):void
array | $data | Request data |
int | $contentLinkId | The ID of the content link |
public getContentLinksForContainer(string $container, int $setId = null):void
string | $container | |
int | $setId |
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters(array $filters = []):void
Sets the filter array.
array | $filters |
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
This module is deprecated. Use module 'Shop Builder' instead.
Plenty\Modules\ContentBuilder\Contracts
public listContents(int $page = 1, int $itemsPerPage = 50, array $with = [], array $filters = []):PaginatedResult
int | $page | |
int | $itemsPerPage | |
array | $with | |
array | $filters |
public listAllContents():array
public getContent(int $contentId):void
int | $contentId |
public getContentsByPage(string $pageIdentifier):Collection
string | $pageIdentifier |
public createContent(string $dataProviderName):void
string | $dataProviderName |
public updateContent(array $data, int $contentId):void
array | $data | Request data |
int | $contentId | The ID of the content |
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters(array $filters = []):void
Sets the filter array.
array | $filters |
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
This module is deprecated. Use module 'Shop Builder' instead.
Plenty\Modules\ContentBuilder\Contracts
public createContentData(int $contentId, array $widgetData):void
int | $contentId | |
array | $widgetData |
public getContentData(int $contentId):void
int | $contentId |
This module is deprecated. Use module 'Shop Builder' instead.
Plenty\Modules\ContentBuilder\Contracts
public getPreview(array $widgetSettings = [], array $children = []):string
Get the html representation of the widget
array | $widgetSettings | |
array | $children |
public render(array $widgetSettings = [], array $children = []):string
Render the widget
array | $widgetSettings | |
array | $children |
This module is deprecated. Use module 'Shop Builder' instead.
Plenty\Modules\ContentBuilder\Models
Type | Name | Description |
---|---|---|
int | id | The ID of the content |
string | dataProviderName | The name of the data provider |
string | contentData | The data of the content |
createdAt | The date when the content was created | |
updatedAt | The date when the content was last updated | |
string | type | The type of the content |
public toArray()
Returns this model as an array.
This module is deprecated. Use module 'Shop Builder' instead.
Plenty\Modules\ContentBuilder\Models
Type | Name | Description |
---|---|---|
int | id | The ID of the content link |
int | contentId | The ID of the content |
string | containerName | The name of the container |
int | pluginSetId | The Id of the plugin set |
createdAt | The date when the content was created | |
updatedAt | The date when the content was last updated |
public toArray()
Returns this model as an array.