PHP Class Apple_Exporter\Components\Image

Since: 0.2.0
Inheritance: extends Component
Afficher le fichier Open project: alleyinteractive/apple-news Class Usage Examples

Méthodes publiques

Méthode Description
node_matches ( DomNode $node ) : mixed Look for node matches for this component.

Méthodes protégées

Méthode Description
build ( string $text ) Build the component.

Private Methods

Méthode Description
find_caption_alignment ( ) : string Find the caption alignment to use.
group_component ( string $caption ) If the image has a caption, we have to also show a caption component.
register_anchor_layout ( ) Register the anchor layout.
register_non_anchor_layout ( ) Register the non-anchor layout.

Method Details

build() protected méthode

Build the component.
protected build ( string $text )
$text string

node_matches() public static méthode

Look for node matches for this component.
public static node_matches ( DomNode $node ) : mixed
$node DomNode
Résultat mixed