Documentation

ParseResult


Auxiliary class, presenting query parsing results.

Has the following methods:


Method Description Available from version
public function __construct
(string $componentName = null, array $componentParameters = null, 
string $templateName = null)
  • $componentName - component name;
  • $componentParameters - component parameters;
  • $templateName - component template.
Constructor.
public function isFound(): bool
Returns true, when result contain component name (i. e. component parsed successfully).
public function getComponentName(): ?string
Returns component name.
public function getComponentParameters(): ?array
Returns component parameters.
public function getTemplateName(): ?string
Returns component template.
© «Bitrix24», 2001-2024
Up