DependentInput
in package
implements
Input
Represents a single entry in the data file "o" (ordered inputs) node.
Tags
Table of Contents
Interfaces
Properties
Methods
- __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
addAssociatedIdentifierName()
public
addAssociatedIdentifierName(mixed $key) : mixed
Parameters
- $key : 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
getAssociatedIdentifierNames()
public
getAssociatedIdentifierNames() : mixed
getAssociatedInputs()
public
getAssociatedInputs() : mixed
getIdentifierValue()
Ensures the identifier value is wrapped in double quotes if required.
public
getIdentifierValue(mixed $identifierValue) : mixed
Parameters
- $identifierValue : mixed
getKey()
public
getKey() : mixed
getSource()
public
getSource() : mixed
hasAssociatedInputs()
public
hasAssociatedInputs() : mixed
isClientSideSource()
public
isClientSideSource() : mixed
isEnsureClientHintQuote()
public
isEnsureClientHintQuote() : mixed
isHeaderSource()
public
isHeaderSource() : mixed