Text_Wiki_Docbook
[ class tree: Text_Wiki_Docbook ] [ index: Text_Wiki_Docbook ] [ all elements ]

Class: Text_Wiki_Render_Docbook_Colortext

Source Location: /Text_Wiki-1.2.4/Text/Wiki/Render/Docbook/Colortext.php

Class Overview

Text_Wiki_Render
   |
   --Text_Wiki_Render_Docbook_Colortext

This class renders colored text in DocBook.


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods

Class: Text_Wiki_Render

Text_Wiki_Render::__construct()
Constructor for this render format or rule.
Text_Wiki_Render::Text_Wiki_Render()
Constructor for this render format or rule.
Text_Wiki_Render::formatConf()
Simple method to wrap a configuration in an sprintf() format.
Text_Wiki_Render::getConf()
Simple method to safely get configuration key values.
Text_Wiki_Render::textEncode()
Default method to render text (htmlspecialchars)
Text_Wiki_Render::urlEncode()
Default method to render url

Class Details

[line 26]
This class renders colored text in DocBook.


[ Top ]


Class Variables

$conf = array(
        'role' => 'color',
        'attribute' => 'condition',
        'colors' => array(
            'aqua',
            'black',
            'blue',
            'fuchsia',
            'gray',
            'green',
            'lime',
            'maroon',
            'navy',
            'olive',
            'purple',
            'red',
            'silver',
            'teal',
            'white',
            'yellow'
        ))

[line 28]


Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

token   [line 65]

string token( array $options)

Renders a token into text matching the requested format.
  • Return: The text rendered from the token options.
  • Access: public

Parameters:

array   $options   —  The "options" portion of the token (second element).

[ Top ]


Documentation generated on Tue, 12 Mar 2019 21:49:17 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.