Given a specific template ID retrieve the corresponding PATTERN, THAT and TOPIC.
Retrieve the Pattern, That and Topic using only the ID of the corresponding template. This function has also been adapted to make it possible to substitute the template ID for a parent ID and retrieve the pattern-words that came before that ID. To do this set $pat to 1.
Get the word and the parent ID using the known pattern ID.
Because the word tree is traveled backwards, from leaf-node (i.e. the template reference) to the trunk (i.e. the <input> node), there needs to be a reference to the previous word, this is the parent ID in the parent column. Both the word (including the * and _) and the parent ID are returned.
Documentation generated on Tue, 11 Jan 2005 18:41:10 +0100 by phpDocumentor 1.3.0RC3