Bitrix Site Manager

CAdvContract

The CAdvContract class is used with advertising contracts.

Methods

Method Description
Set Creates a new contract, or modifies the existing one.
GetList Obtains a filtered list of contracts. 
GetByID Returns a contract by its ID.
Delete Deletes a contract and all banners attached to it.
GetUserPermissionArray Returns an array of permissions of a specified user for all contracts.
GetContractPermissionArray Returns an array of permissions of all users for a specified contract.
IsModuleAccess Returns true if the current user owns the specified permission, or false otherwise.