Documentation

DependentInput
in package
implements Input

Represents a single entry in the data file "o" (ordered inputs) node.

Tags
author

DeviceAtlas Limited

Table of Contents

Interfaces

Input

Properties

$aI  : mixed
$i  : mixed

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

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

getIdentifierValue()

Ensures the identifier value is wrapped in double quotes if required.

public getIdentifierValue(mixed $identifierValue) : mixed
Parameters
$identifierValue : mixed

isEnsureClientHintQuote()

public isEnsureClientHintQuote() : mixed

        
On this page

Search results