PHP Class eMarkup, ewiki

显示文件 Open project: patrikf/ewiki

Protected Properties

Property Type Description
$content
$ctx

Public Methods

Method Description
__construct ( $content = NULL )
format ( )
setContent ( $content = NULL )

Protected Methods

Method Description
comment_filter ( $line )
error ( $s )
fmt_cell ( $s )
fmt_cell_head ( $s )
fmt_code ( $s )
fmt_comment ( $s )
fmt_emph ( $s )
fmt_error ( $s )
fmt_heading ( $level, $s )
fmt_image ( $ref, $width, $height )
fmt_labeled_link ( $ref, $user_label )
fmt_link ( $ref, $label ) * Auto-generated vs. user-provided label
fmt_list ( $items )
fmt_listitem ( $s )
fmt_page ( $blocks ) Parsing bits prototypes {{{1
fmt_par ( $s )
fmt_plain ( $s ) * fmt_plain() gets unchecked user input. If necessary, it should perform whitespace conversion and escaping of special characters.
fmt_row ( $cells )
fmt_strong ( $s )
fmt_sublist ( $items )
fmt_table ( $rows )
mklink ( $target, $label = NULL )
parse_block ( $in )
parse_link ( $in, &$a )
parse_list ( $in )
parse_page ( $in )
parse_par ( $in, &$a, $ctx = 'par' )
parse_special ( $in )
parse_table ( $in )
parse_table_row ( $in, &$a )

Method Details

__construct() public method

public __construct ( $content = NULL )

comment_filter() protected static method

protected static comment_filter ( $line )

error() protected method

protected error ( $s )

fmt_cell() abstract protected method

abstract protected fmt_cell ( $s )

fmt_cell_head() protected method

protected fmt_cell_head ( $s )

fmt_code() protected method

protected fmt_code ( $s )

fmt_comment() protected method

protected fmt_comment ( $s )

fmt_emph() abstract protected method

abstract protected fmt_emph ( $s )

fmt_error() protected method

protected fmt_error ( $s )

fmt_heading() abstract protected method

abstract protected fmt_heading ( $level, $s )

fmt_image() protected method

protected fmt_image ( $ref, $width, $height )

fmt_list() abstract protected method

abstract protected fmt_list ( $items )

fmt_listitem() abstract protected method

abstract protected fmt_listitem ( $s )

fmt_page() protected method

Parsing bits prototypes {{{1
protected fmt_page ( $blocks )

fmt_par() abstract protected method

abstract protected fmt_par ( $s )

fmt_plain() protected method

* fmt_plain() gets unchecked user input. If necessary, it should perform whitespace conversion and escaping of special characters.
protected fmt_plain ( $s )

fmt_row() abstract protected method

abstract protected fmt_row ( $cells )

fmt_strong() abstract protected method

abstract protected fmt_strong ( $s )

fmt_sublist() protected method

protected fmt_sublist ( $items )

fmt_table() abstract protected method

abstract protected fmt_table ( $rows )

format() public method

public format ( )

parse_block() protected method

protected parse_block ( $in )

parse_list() protected method

protected parse_list ( $in )

parse_page() protected method

protected parse_page ( $in )

parse_par() protected method

protected parse_par ( $in, &$a, $ctx = 'par' )

parse_special() protected method

protected parse_special ( $in )

parse_table() protected method

protected parse_table ( $in )

parse_table_row() protected method

protected parse_table_row ( $in, &$a )

setContent() public method

public setContent ( $content = NULL )

Property Details

$content protected_oe property

protected $content

$ctx protected_oe property

protected $ctx