Bitrix API

Module

Class Module

Table of Contents

Methods

__construct()  : mixed
Module constructor.
__toString()  : string
To string.
getName()  : string
Get name.
getPackage()  : Package|null
Get package.
getProfile()  : Profile|null
Get profile.
setPackage()  : $this
Set resource package.
setProfile()  : $this
Set profile.

Methods

__construct()

Module constructor.

public __construct(mixed $name[, Package|null $package = null ][, Profile|null $profile = null ]) : mixed
Parameters
$name : mixed
$package : Package|null = null

Resource package.

$profile : Profile|null = null

Profile.

__toString()

To string.

public __toString() : string
Return values
string

getName()

Get name.

public getName() : string
Return values
string

setPackage()

Set resource package.

public setPackage(Package $package) : $this
Parameters
$package : Package

Resource package.

Return values
$this

setProfile()

Set profile.

public setProfile(Profile $profile) : $this
Parameters
$profile : Profile

Profile.

Return values
$this

        
On this page

Search results