ArrayArgumentHelper
Table of Contents
Properties
-
$argumentCount
: int
-
$arguments
: array<string|int, mixed>
-
$columns
: array<string|int, mixed>
-
$indexStart
: int
-
$rows
: array<string|int, mixed>
Methods
-
arguments()
: array<string|int, mixed>
-
arrayArguments()
: int
-
columnCount()
: int
-
getFirstArrayArgumentNumber()
: int
-
getMatrixPair()
: array<string|int, mixed>
-
getSingleColumnVector()
: int|null
-
getSingleRowVector()
: int|null
-
hasArrayArgument()
: bool
-
initialise()
: void
-
isColumnVector()
: bool
-
isRowVector()
: bool
-
isVector()
: bool
-
rowCount()
: int
-
columns()
: array<string|int, mixed>
-
filterArray()
: array<string|int, mixed>
-
flattenSingleCellArrays()
: array<string|int, mixed>
-
getColumnVectors()
: array<string|int, mixed>
-
getRowVectors()
: array<string|int, mixed>
-
rows()
: array<string|int, mixed>
$argumentCount
protected
int
$argumentCount
$arguments
protected
array<string|int, mixed>
$arguments
$columns
protected
array<string|int, mixed>
$columns
$indexStart
protected
int
$indexStart
= 0
$rows
protected
array<string|int, mixed>
$rows
arguments()
public
arguments() : array<string|int, mixed>
Return values
array<string|int, mixed>
arrayArguments()
public
arrayArguments() : int
columnCount()
public
columnCount(int $argument) : int
Parameters
-
$argument
: int
-
getFirstArrayArgumentNumber()
public
getFirstArrayArgumentNumber() : int
getMatrixPair()
public
getMatrixPair() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSingleColumnVector()
public
getSingleColumnVector() : int|null
getSingleRowVector()
public
getSingleRowVector() : int|null
hasArrayArgument()
public
hasArrayArgument() : bool
initialise()
public
initialise(array<string|int, mixed> $arguments) : void
Parameters
-
$arguments
: array<string|int, mixed>
-
isColumnVector()
public
isColumnVector(int $argument) : bool
Parameters
-
$argument
: int
-
isRowVector()
public
isRowVector(int $argument) : bool
Parameters
-
$argument
: int
-
isVector()
public
isVector(int $argument) : bool
Parameters
-
$argument
: int
-
rowCount()
public
rowCount(int $argument) : int
Parameters
-
$argument
: int
-
columns()
private
columns(array<string|int, mixed> $arguments) : array<string|int, mixed>
Parameters
-
$arguments
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
filterArray()
private
filterArray(array<string|int, mixed> $array) : array<string|int, mixed>
Parameters
-
$array
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
flattenSingleCellArrays()
private
flattenSingleCellArrays(array<string|int, mixed> $arguments, array<string|int, mixed> $rows, array<string|int, mixed> $columns) : array<string|int, mixed>
Parameters
-
$arguments
: array<string|int, mixed>
-
-
$rows
: array<string|int, mixed>
-
-
$columns
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
getColumnVectors()
private
getColumnVectors() : array<string|int, mixed>
Return values
array<string|int, mixed>
getRowVectors()
private
getRowVectors() : array<string|int, mixed>
Return values
array<string|int, mixed>
rows()
private
rows(array<string|int, mixed> $arguments) : array<string|int, mixed>
Parameters
-
$arguments
: array<string|int, mixed>
-
Return values
array<string|int, mixed>