This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %Studio.Template.HTMLAttribute

%Studio.Template.HTMLAttribute

persistent class %Studio.Template.HTMLAttribute extends %Library.Persistent, %XML.Adaptor

SQL Table Name: %Studio_Template.HTMLAttribute

Represents an HTML attribute associated with a specific HTML element.
See the %Studio.Template.HTMLElement class for more information.

Property Inventory

Parameters

parameter XMLNAME = attr;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties

property Category as %String (XMLNAME = "cat", XMLPROJECTION = "attribute");
Category of this attribute.
Property methods: CategoryDisplayToLogical(), CategoryGet(), CategoryGetStored(), CategoryIsValid(), CategoryLogicalToDisplay(), CategoryLogicalToOdbc(), CategoryNormalize(), CategorySet()
property Description as %String (MAXLEN = 255, XMLNAME = "desc", XMLPROJECTION = "attribute");
Description of this attribute.
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property Enum as %String (MAXLEN = 300, XMLNAME = "enum", XMLPROJECTION = "attribute");
List of enumerated values (for enum types).
Property methods: EnumDisplayToLogical(), EnumGet(), EnumGetStored(), EnumIsValid(), EnumLogicalToDisplay(), EnumLogicalToOdbc(), EnumNormalize(), EnumSet()
property Name as %String (MAXLEN = 256, XMLNAME = "name", XMLPROJECTION = "attribute");
Name of this attribute.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
relationship Tag as HTMLElement [ Required , Inverse = Attrs , Cardinality = parent ];
The tag this attribute is associated with.
Property methods: TagCheck(), TagDelete(), TagGet(), TagGetObject(), TagGetObjectId(), TagGetStored(), TagGetSwizzled(), TagIsValid(), TagNewObject(), TagOnDelete(), TagRClose(), TagRExec(), TagRFetch(), TagRelate(), TagSQLCompute(), TagSet(), TagSetObject(), TagSetObjectId(), TagUnRelate(), TagUnSwizzle()
property Type as %String (XMLNAME = "type", XMLPROJECTION = "attribute");
Type of this attribute.
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (%Studio.Template.HTMLAttribute)

{%%PARENT}("Attrs")(ID)
=
%%CLASSNAME
Category
Description
Enum
Name
Type