3.1.26. registerNamespace()

void registerNamespace ( string $namespace )

Registers the new namespace $namespace for the OPT compiler. Only the registered namespaces are parsed by OPT in the XML syntax mode. The rest of the tags is simply displayed in the output. Note that OPT registers one namespace by default: "opt".

Note: this method is not available, if the Register method family was removed from the source with OPT Configurator.