Class Border
A border works in the same way as a panel but does ont replace the origonal content of the HTML tag it is added to.
The border mark-up:
<picon:border> <h2>border heading</h2> <picon:body /> <p>other border content</p> </picon:border>
And in the composing class:
<h1>heading</h1> <div picon:id="myBorder"> Border content will wrap this content </div> <p>other mark-up...</p>
Would be rendered as:
<h1>heading</h1> <div picon:id="myBorder"> <h2>border heading</h2> Border content will wrap this content <p>other border content</p> </div> <p>other mark-up...</p>
- picon\Component implements picon\InjectOnWakeup, picon\Identifiable, picon\Detachable
-
picon\MarkupContainer
-
picon\Border
Namespace: picon
Package: web\markup\html\panel
Author: Martin Cassidy
Located at web/markup/html/panel/Border.php
Package: web\markup\html\panel
Author: Martin Cassidy
Located at web/markup/html/panel/Border.php
protected
|
|
public
|
PATH_SEPERATOR,
TYPE_ARRAY,
TYPE_BOOL,
TYPE_DOUBLE,
TYPE_FLOAT,
TYPE_INT,
TYPE_STRING,
VISITOR_CONTINUE_TRAVERSAL,
VISITOR_CONTINUE_TRAVERSAL_NO_DEEPER,
VISITOR_STOP_TRAVERSAL
|
$added
|