Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Data Fields
ScopeInterface Interface Reference
Inheritance diagram for ScopeInterface:
ScopeDefault ScopeInterface Group Store Website Store

Public Member Functions

 getCode ()
 
 getId ()
 
 getScopeType ()
 
 getScopeTypeName ()
 
 getName ()
 

Data Fields

const SCOPE_DEFAULT = 'default'
 

Detailed Description

@api

Since
100.0.2

Definition at line 12 of file ScopeInterface.php.

Member Function Documentation

◆ getCode()

getCode ( )

Retrieve scope code

Returns
string

Implemented in Website, Store, Group, and ScopeDefault.

◆ getId()

getId ( )

Get scope identifier

Returns
int

Implemented in Store, and ScopeDefault.

◆ getName()

getName ( )

Get scope name

Returns
string
Since
100.1.0

Implemented in Website, Store, Group, and ScopeDefault.

◆ getScopeType()

getScopeType ( )

Get scope type

Returns
string
Since
100.1.0

Implemented in Store, Website, Group, and ScopeDefault.

◆ getScopeTypeName()

getScopeTypeName ( )

Get scope type name

Returns
string
Since
100.1.0

Implemented in Store, Website, Group, and ScopeDefault.

Field Documentation

◆ SCOPE_DEFAULT

const SCOPE_DEFAULT = 'default'

Default scope reference code

Definition at line 17 of file ScopeInterface.php.


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