PHP Class Texy\Modules\FigureModule

Inheritance: extends Texy\Module
显示文件 Open project: dg/texy

Public Properties

Property Type Description
$class non-floated box CSS class
$leftClass left-floated box CSS class
$rightClass right-floated box CSS class
$widthDelta how calculate div's width

Public Methods

Method Description
__construct ( $texy )
pattern ( BlockParser $parser, array $matches ) : HtmlElement | string | FALSE Callback for [*image*]:link *** .
solve ( HandlerInvocation $invocation, Image $image, Link $link = NULL, $content, Modifier $mod ) : HtmlElement | FALSE Finish invocation.

Method Details

__construct() public method

public __construct ( $texy )

pattern() public method

... .(title)[class]{style}>.
public pattern ( BlockParser $parser, array $matches ) : HtmlElement | string | FALSE
$parser Texy\BlockParser
$matches array
return Texy\HtmlElement | string | FALSE

solve() public method

Finish invocation.
public solve ( HandlerInvocation $invocation, Image $image, Link $link = NULL, $content, Modifier $mod ) : HtmlElement | FALSE
$invocation Texy\HandlerInvocation
$image Texy\Image
$link Texy\Link
$mod Texy\Modifier
return Texy\HtmlElement | FALSE

Property Details

$class public_oe property

non-floated box CSS class
public $class

$leftClass public_oe property

left-floated box CSS class
public $leftClass

$rightClass public_oe property

right-floated box CSS class
public $rightClass

$widthDelta public_oe property

how calculate div's width
public $widthDelta