6.1.1 Tag Objects
-
-
Raises a TemplateError exception using the string in the
msg argument.
-
-
Returns
TRUE
if the attribute specified in the name
argument was defined for the tag. All attribute names are converted
to lower case by the template parser.
-
-
If the attribute specified in the name argument is not defined
for the tag a TemplateError exception will be raised.
-
-
Retrieves the value of the attribute specified in the name
argument.
-
-
Sets the value of the attribute named in the name argument to
the value in the value argument.
-
-
Defines the order that the tag attributes will be written during
conversion to HTML. The template parser captures the attribute
sequence from the template file then calls this method.
-
-
Returns a list of attribute name, value tuples which are defined for
the tag.
-
-
Sends all tag attributes to the write_content() method of the
execution context in the ctx argument. Any attributes named in
additional arguments will not be written.