Documentation

CyclicReferenceStack
in package

Table of Contents

Properties

$stack  : array<string|int, mixed>
The call stack for calculated cells.

Methods

clear()  : void
Clear the stack.
count()  : int
Return the number of entries on the stack.
onStack()  : bool
Test to see if a specified entry exists on the stack.
pop()  : mixed
Pop the last entry from the stack.
push()  : void
Push a new entry onto the stack.
showStack()  : array<string|int, mixed>
Return an array of all entries on the stack.

Properties

$stack

The call stack for calculated cells.

private array<string|int, mixed> $stack = []

Methods

count()

Return the number of entries on the stack.

public count() : int
Return values
int

onStack()

Test to see if a specified entry exists on the stack.

public onStack(mixed $value) : bool
Parameters
$value : mixed

The value to test

Return values
bool

push()

Push a new entry onto the stack.

public push(mixed $value) : void
Parameters
$value : mixed

showStack()

Return an array of all entries on the stack.

public showStack() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results