Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ComponentInterface Interface Reference
Inheritance diagram for ComponentInterface:
Link Sample

Public Member Functions

 getBasePath ()
 
 getBaseTmpPath ()
 
 getSearchableData ($productId, $storeId)
 

Detailed Description

Downloadable component interface

@api

Since
100.0.2

Definition at line 14 of file ComponentInterface.php.

Member Function Documentation

◆ getBasePath()

getBasePath ( )

Retrieve Base files path

Returns
string

Implemented in Link, and Sample.

◆ getBaseTmpPath()

getBaseTmpPath ( )

Retrieve base temporary path

Returns
string

Implemented in Link, and Sample.

◆ getSearchableData()

getSearchableData (   $productId,
  $storeId 
)

Retrieve links searchable data

Parameters
int$productId
int$storeId
Returns
array

Implemented in Link, and Sample.


The documentation for this interface was generated from the following file: