Trim implements TrimInterface
Read onlyYes
FinalYes
Evaluates to the trimmed string value of the operand.
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Interfaces
- TrimInterface
- Evaluates to the trimmed string value of the operand.
Methods
- __construct() : mixed
- getFunctionName() : string
- Returns the SQL function name.
- getOperand() : DynamicOperandInterface
- Returns the operand being trimmed.
- getOperands() : array<string|int, DynamicOperandInterface|string>
- Returns the operands of this function expression.
Methods
__construct()
public
__construct(DynamicOperandInterface $operand) : mixed
Parameters
- $operand : DynamicOperandInterface
getFunctionName()
Returns the SQL function name.
public
getFunctionName() : string
Return values
string —The function name (e.g., 'CONCAT', 'TRIM', 'COALESCE')
getOperand()
Returns the operand being trimmed.
public
getOperand() : DynamicOperandInterface
Return values
DynamicOperandInterfacegetOperands()
Returns the operands of this function expression.
public
getOperands() : array<string|int, DynamicOperandInterface|string>
Return values
array<string|int, DynamicOperandInterface|string> —The operands