Registers a component. $name is the name of the class implementing
ioptComponent
interface or an array of such names.
Example 3.10. registerComponent()
<?php $tpl -> registerComponent(array(0 => 'mySelectComponent', 'myInputComponent' )); ?>
The components are visible in the template under their class names. In order to disable predefined components, use OPT Configurator and uncheck Predefined components directive.
Note: this method is not available, if the Register method family or Component support was removed from the source with OPT Configurator.