Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 131 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Concatenate:: (3 methods):
  CONCATENATE()
  TEXTJOIN()
  builtinREPT()


Class: Concatenate  - X-Ref

CONCATENATE(...$args)   X-Ref
CONCATENATE.

param: array $args

TEXTJOIN($delimiter, $ignoreEmpty, ...$args)   X-Ref
TEXTJOIN.

param: mixed $delimiter The delimter to use between the joined arguments
param: mixed $ignoreEmpty true/false Flag indicating whether empty arguments should be skipped
param: mixed $args The values to join
return: array|string The joined string

builtinREPT($stringValue, $repeatCount)   X-Ref
REPT.

Returns the result of builtin function round after validating args.

param: mixed $stringValue The value to repeat
param: mixed $repeatCount The number of times the string value should be repeated
return: array|string The repeated string