Public Member Functions | Static Public Member Functions | List of all members
SpecialTemplateIdentifierActions Class Reference

Public Member Functions

 __construct ($oTemplate)
 writeSessionAttribute ($oTemplateIdentifier)
 writeString ($oTemplateIdentifier)
 writeParameterizedString ($oTemplateIdentifier)
 writeFlashValue ($oTemplateIdentifier)
 normalize ($oTemplateIdentifier, &$iFlags)
 br ($oTemplateIdentifier, &$iFlags)
 doCalculation ($oTemplateIdentifier, &$iFlags)
 truncate ($oTemplateIdentifier, &$iFlags)
 quoteString ($oTemplateIdentifier, &$iFlags)
 writeLink ($oTemplateIdentifier)
 includeTemplate ($oTemplateIdentifier, &$iFlags)
 writeDate ($oTemplateIdentifier)
 writeRequestValue ($oTemplateIdentifier)
 writeServerVariable ($oTemplateIdentifier)
 writeSettingValue ($oTemplateIdentifier)
 writeManagerPrefix ($oTemplateIdentifier)
 writeConstantValue ($oTemplateIdentifier)
 writeTemplateName ($oTemplateIdentifier)
 addResourceInclude ($oIdentifier)
 writeDirectInclude ($oIdentifier)
 writeResourceIncludes ($oTemplateIdentifier)
 replaceIn ($oIdentifier)

Static Public Member Functions

static getSpecialIdentifierNames ()
static getAlwaysLastNames ()

Member Function Documentation

SpecialTemplateIdentifierActions::writeConstantValue (   $oTemplateIdentifier)

Outputs the value of constants. Can be used with multiple constants as follows: {{writeConstantValue=DIRNAME_SITE/DIRNAME_WEB/DIRNAME_IMAGES}}. FIXME: Allow a null-delimiter

SpecialTemplateIdentifierActions::writeLink (   $oTemplateIdentifier)

Create internal links. The identifier value signifies the destination. It can be either a path or one of the following special values: “to_self”, “host_only”, “base_href”. The following additional parameters are allowed: “is_absolute”, “page”, “ignore_request”, “manager” Implicitly, the value of is_absolute determines the type of absolute link generated. A value of “false” will not generate absolute links. Using “auto” will determine server-side whether to use http or https for protocol. Setting is_absolute to “http” or “https” will set the protocol accordingly. Any other value (including “true”) will generate a protocol-relative URL (starting with //), meaning the reference is determined on the client-side. Creating a “base_href” link will always make it absolute and not explicitly setting “is_absolute” will default to “auto” (instead of “true” as is the case with all other link types).

The documentation for this class was generated from the following file: