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

Class: Text_Wiki_Render_Latex_Font

Source Location: /Text_Wiki-1.2.4/Text/Wiki/Render/Latex/Font.php

Class Overview

Text_Wiki_Render
   |
   --Text_Wiki_Render_Latex_Font

Font rule render class (used for BBCode)


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 bertrand Gugger

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 29]
Font rule render class (used for BBCode)


[ Top ]


Class Variables

$sizes = array(
        'tiny' => 5,
        'scriptsize' => 7,
        'footnotesize' => 8,
        'small' => 9,
        'normalsize' => 11,
        'large' => 13,
        'Large' => 16,
        'LARGE' => 19,
        'huge' => 22,
        'Huge' => 9999)

[line 37]

A table to translate the sizes
  • Access: public

Type:   array


[ Top ]



Method Detail

token   [line 57]

string token( array $options)

Renders a token into text matching the requested format.

process the font size option

  • 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:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.