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

Class: Text_Wiki_Render_Xhtml_Function

Source Location: /Text_Wiki-1.2.4/Text/Wiki/Render/Xhtml/Function.php

Class Overview

Text_Wiki_Render
   |
   --Text_Wiki_Render_Xhtml_Function

This class renders a function description in XHTML.


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 a function description in XHTML.


[ Top ]


Class Variables

$conf = array(
       // list separator for params and throws
        'list_sep' => ', ',

        // the "main" format string
        'format_main' => '%access %return <b>%name</b> ( %params ) %throws',

        // the looped format string for required params
        'format_param' => '%type <i>%descr</i>',

        // the looped format string for params with default values
        'format_paramd' => '[%type <i>%descr</i> default %default]',

        // the looped format string for throws
        'format_throws' => '<b>throws</b> %type <i>%descr</i>'
    )

[line 28]


Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

token   [line 58]

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