Class \Prado\Web\UI\WebControls\TTextProcessor
        TTextProcessor class.
        
    TTextProcessor is the base class for classes that process or transform text content into different forms. The text content to be processed is specified by \Prado\Web\UI\WebControls\setText property. If it is not set, the body content enclosed within the processor control will be processed and rendered. The body content includes static text strings and the rendering result of child controls.
Note, all child classes must implement processText method.
Class hierarchy
- \Prado\Web\UI\WebControls\TTextProcessor
- 
                     \Prado\Web\UI\WebControls\TWebControl
                    implements
                            IStyleable \Prado\Web\UI\WebControls\TWebControl
                    implements
                            IStyleable
- 
                     \Prado\Web\UI\TControl
                    implements
                            IRenderable,                             IBindable \Prado\Web\UI\TControl
                    implements
                            IRenderable,                             IBindable
- 
                     \Prado\TApplicationComponent \Prado\TApplicationComponent
- 
                     \Prado\TComponent \Prado\TComponent
Since: 3.0.1
| 
            public
                                                             | 
                    addParsedObject(mixed $object) : mixed                
                    HTML-decodes static text.
                     This method overrides parent implementation. | 
| 
            public
                                                             | |
| 
            public
                        abstract                                     | 
                    processText(string $text) : string                
                    Processes a text string.
                     This method must be implemented by child classes. | 
| 
            public
                                                             | 
                    renderContents(THtmlWriter $writer) : mixed                
                    Renders body content.
                     This method overrides the parent implementation by replacing the body content with the processed text content. | 
| 
            public
                                                             |