Sign in Join
FPDoc Onlineexperiment

TTemplateVars class

In unit FpWeb

Collection of template variables

Declaration

pascal
TTemplateVars = class(TCollection)

Inheritance

  1. TTemplateVars
  2. TCollection
  3. TPersistent
  4. TObject

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

Properties

VariablespublicArray property providing indexed access to template variables

Methods

IndexOfVarpublicReturns the index of the variable with the specified name
VarByNamepublicReturns the variable with the specified name
FindVarpublicSearches for a variable with the specified name

Inherited

From TCollection (31)

Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount

From TPersistent (6)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.