Bitrix API

Product

Class Product

Table of Contents

Methods

isCloud()  : bool
Return true if portal is cloud.
isRegionRussian()  : bool
Return true if region is Russian.
setTestRegion()  : void

Methods

isCloud()

Return true if portal is cloud.

public static isCloud() : bool
Return values
bool

isRegionRussian()

Return true if region is Russian.

public static isRegionRussian([bool $onlyRu = false ]) : bool
Parameters
$onlyRu : bool = false

Check only ru region.

Return values
bool

setTestRegion()

public static setTestRegion([string $region = '' ]) : void
Parameters
$region : string = ''

        
On this page

Search results