BufferArea extends StaticArea
Table of Contents
Methods
- __construct() : mixed
- addDynamicArea() : mixed
- applyCachedData() : StaticArea
- Apply previously saved state.
- begin() : BufferArea
- Starts an dynamic frame.
- beginStub() : BufferArea
- Starts static part of dynamic frame which will be shown to user.
- end() : BufferArea
- Ends dynamic part of the content.
- finishDynamicArea() : mixed
- getAnimation() : mixed
- getAssetId() : mixed
- getAssetMode() : mixed
- getAutoUpdate() : mixed
- getBrowserStorage() : mixed
- getCachedData() : array<string|int, mixed>
- Returns internal state of the object for storing in cache.
- getContainerId() : mixed
- getContainers() : mixed
- getCurrentDynamicArea() : StaticArea
- getCurrentDynamicId() : mixed
- getDynamicArea() : StaticArea
- getDynamicAreas() : array<string|int, StaticArea>
- getDynamicIDs() : array<string|int, array<string|int, mixed>>
- getId() : mixed
- getStub() : mixed
- isEnded() : bool
- Returns true if Frame was ended.
- isStarted() : bool
- Returns true if Frame was started.
- setAnimation() : mixed
- setAssetMode() : mixed
- setAutoUpdate() : mixed
- setBrowserStorage() : mixed
- setContainerId() : mixed
- setStub() : mixed
- startDynamicArea() : mixed
Methods
__construct()
public
__construct(mixed $id[, bool $autoContainer = true ]) : mixed
Parameters
- $id : mixed
- $autoContainer : bool = true
addDynamicArea()
public
static addDynamicArea(StaticArea $area) : mixed
Parameters
- $area : StaticArea
applyCachedData()
Apply previously saved state.
public
static applyCachedData(mixed $cachedData) : StaticArea
Parameters
- $cachedData : mixed
Return values
StaticAreabegin()
Starts an dynamic frame.
public
begin([null|string $stub = null ]) : BufferArea
Returns self object instance.
Parameters
- $stub : null|string = null
Tags
Return values
BufferAreabeginStub()
Starts static part of dynamic frame which will be shown to user.
public
beginStub() : BufferArea
Method begin() must be called before. Returns self object instance.
Tags
Return values
BufferAreaend()
Ends dynamic part of the content.
public
end() : BufferArea
Method begin() must be called before. Returns self object instance.
Tags
Return values
BufferAreafinishDynamicArea()
public
finishDynamicArea() : mixed
getAnimation()
public
getAnimation() : mixed
getAssetId()
public
getAssetId() : mixed
getAssetMode()
public
getAssetMode() : mixed
getAutoUpdate()
public
getAutoUpdate() : mixed
getBrowserStorage()
public
getBrowserStorage() : mixed
getCachedData()
Returns internal state of the object for storing in cache.
public
getCachedData() : array<string|int, mixed>
Return values
array<string|int, mixed>getContainerId()
public
getContainerId() : mixed
getContainers()
public
static getContainers() : mixed
getCurrentDynamicArea()
public
static getCurrentDynamicArea() : StaticArea
Return values
StaticAreagetCurrentDynamicId()
public
static getCurrentDynamicId() : mixed
getDynamicArea()
public
static getDynamicArea(string $id) : StaticArea
Parameters
- $id : string
-
Dynamic Area Id
Return values
StaticAreagetDynamicAreas()
public
static getDynamicAreas() : array<string|int, StaticArea>
Return values
array<string|int, StaticArea>getDynamicIDs()
public
static getDynamicIDs() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>getId()
public
getId() : mixed
getStub()
public
getStub() : mixed
isEnded()
Returns true if Frame was ended.
public
isEnded() : bool
Return values
boolisStarted()
Returns true if Frame was started.
public
isStarted() : bool
Return values
boolsetAnimation()
public
setAnimation(mixed $useAnimation) : mixed
Parameters
- $useAnimation : mixed
setAssetMode()
public
setAssetMode(AssetMode $mode) : mixed
Parameters
- $mode : AssetMode
setAutoUpdate()
public
setAutoUpdate(mixed $autoUpdate) : mixed
Parameters
- $autoUpdate : mixed
setBrowserStorage()
public
setBrowserStorage(mixed $useBrowserStorage) : mixed
Parameters
- $useBrowserStorage : mixed
setContainerId()
public
setContainerId(mixed $containerId) : mixed
Parameters
- $containerId : mixed
setStub()
public
setStub(mixed $stub) : mixed
Parameters
- $stub : mixed
startDynamicArea()
public
startDynamicArea() : mixed