Bitrix API

ContextTypeResolver

FinalYes

Class ContextTypeResolver.

Resolves context type for folder. Used to resolve context type for folder when we use getChildren() method in mobile.

Tags
see
Folder::getChildrenAction()

Table of Contents

Methods

__construct()  : mixed
resolveAllPending()  : void
Resolve all pending folders.
resolveByLazyContextType()  : LazyContextType
Resolve lazy context type for folder.
resolveContextType()  : ContextType
Resolve context type for folder.

Methods

__construct()

public __construct(int $initialStorageId) : mixed
Parameters
$initialStorageId : int

resolveAllPending()

Resolve all pending folders.

public resolveAllPending() : void
Tags
throws
ArgumentException
throws
LoaderException
throws
NotImplementedException
throws
ObjectPropertyException
throws
SystemException

resolveByLazyContextType()

Resolve lazy context type for folder.

public resolveByLazyContextType(Folder $folder) : LazyContextType

Lazy context type is used to resolve context type only when it is needed.

Parameters
$folder : Folder

Folder.

Return values
LazyContextType

        
On this page

Search results