- 7.7. Opt_Compiler_Processor class
7.7.3. _addInstructions() - 7.7.2. _addAttributes()
« Previous - 7.7.4. _enqueue()
Next »
7.7.3. _addInstructions()
| Status | final protected |
|---|---|
| Reference | void _addInstructions(mixed $instructions) |
Registers a single or a group of XML tags that can be parsed with this particular processor. $instructions can be a string with the attribute name or an array of names. The compiler will redirect the processing of those tags to the processor, if it finds any of them. The method must not be used outside Opt_Compiler_Processor::configure(). Example:
class Opt_Processor_Foo extends Opt_Compiler_Processor { protected $_name = 'foo'; public function configure() { $this->_addInstructions('opt:foo'); $this->_addInstructions(array('opt:bar', 'opt:joe')); } // end configure(); } // end Opt_Processor_Foo;
See also:
- 7.7.3. _addInstructions()
7.7. Opt_Compiler_Processor class - « Previous
7.7.2. _addAttributes() - Next »
7.7.4. _enqueue()