DependentInput
in package
implements
Input
Represents a single entry in the data file "o" (ordered inputs) node.
Tags
Interfaces, Classes and Traits
Table of Contents
- $aI : mixed
- $i : mixed
- __construct() : mixed
- addAssociatedIdentifierName() : mixed
- canBeUsed() : mixed
- Can only use the input if:
- getAssociatedIdentifierNames() : mixed
- getAssociatedInputs() : mixed
- getIdentifierValue() : mixed
- Ensures the identifier value is wrapped in double quotes if required.
- getKey() : mixed
- getSource() : mixed
- hasAssociatedInputs() : mixed
- isClientSideSource() : mixed
- isEnsureClientHintQuote() : mixed
- isHeaderSource() : mixed
Properties
$aI
private
mixed
$aI
$i
private
mixed
$i
Methods
__construct()
public
__construct(mixed $input, mixed $associatedInputs) : mixed
Parameters
- $input : mixed
- $associatedInputs : mixed
Return values
mixed —addAssociatedIdentifierName()
public
addAssociatedIdentifierName(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —canBeUsed()
Can only use the input if:
public
canBeUsed(mixed $headers) : mixed
There are no associated inputs then the input can be used if it is present in the detected headers.
OR
There are associated inputs then the input can be used if it is present in the detected headers AND all the associated input are also present.
Parameters
- $headers : mixed
Return values
mixed —getAssociatedIdentifierNames()
public
getAssociatedIdentifierNames() : mixed
Return values
mixed —getAssociatedInputs()
public
getAssociatedInputs() : mixed
Return values
mixed —getIdentifierValue()
Ensures the identifier value is wrapped in double quotes if required.
public
getIdentifierValue(mixed $identifierValue) : mixed
Parameters
- $identifierValue : mixed
Return values
mixed —getKey()
public
getKey() : mixed
Return values
mixed —getSource()
public
getSource() : mixed
Return values
mixed —hasAssociatedInputs()
public
hasAssociatedInputs() : mixed
Return values
mixed —isClientSideSource()
public
isClientSideSource() : mixed
Return values
mixed —isEnsureClientHintQuote()
public
isEnsureClientHintQuote() : mixed
Return values
mixed —isHeaderSource()
public
isHeaderSource() : mixed