Unit 'fpWeb' Package
[Overview][Resource strings][Types][Classes][Index] [#fcl]

TTemplateVars

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Collection of template variables

Declaration

Source position: fpweb.pp line 93

type TTemplateVars = class(TCollection)

public

  function IndexOfVar();

  

Returns the index of the variable with the specified name

  function VarByName();

  

Returns the variable with the specified name

  function FindVar();

  

Searches for a variable with the specified name

  property Variables []: TTemplateVar; default; [rw]

  

Array property providing indexed access to template variables

end;

Inheritance

TTemplateVars

  

Collection of template variables

|

TCollection

|

TPersistent

|

TObject,IFPObserved

Description

TTemplateVars manages a collection of TTemplateVar objects. It provides methods to find variables by name and access them by index.

This collection is used by web modules to maintain template variables that can be referenced during template processing.

See also

TTemplateVar

  

Template variable with name and value


Documentation generated on: Jan 27 2026