Pike v8.1 release 6

Method Parser.XML.Simple()->define_entity()


Method define_entity

void define_entity(string entity, string s, function(:void) cb, mixed ... extras)

Description

Define an entity or an SMEG.

Parameter entity

Entity name, or SMEG name (if preceeded by a "%").

Parameter s

Expansion of the entity. Entity evaluation will be performed.

See also

define_entity_raw()