class PHPExcel_CalcEngine_CyclicReferenceStack

PHPExcelCalcEngineCyclicReferenceStack

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

integer
count()

Return the number of entries on the stack

push(mixed $value)

Push a new entry onto the stack

mixed
pop()

Pop the last entry from the stack

onStack(mixed $value)

Test to see if a specified entry exists on the stack

clear()

Clear the stack

mixed[]
showStack()

Return an array of all entries on the stack

Details

at line 51
integer count()

Return the number of entries on the stack

Return Value

integer

at line 61
push(mixed $value)

Push a new entry onto the stack

Parameters

mixed $value

at line 71
mixed pop()

Pop the last entry from the stack

Return Value

mixed

at line 81
onStack(mixed $value)

Test to see if a specified entry exists on the stack

Parameters

mixed $value The value to test

at line 89
clear()

Clear the stack

at line 99
mixed[] showStack()

Return an array of all entries on the stack

Return Value

mixed[]