PHP Класс Apple_Exporter\Builders\Components

С версии: 0.4.0
Наследование: extends Apple_Exporter\Builders\Builder
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
build ( ) : array Builds an array with all the components of this WordPress content.

Приватные методы

Метод Описание
add_pullquote_if_needed ( &$components ) Add a pullquote component if needed.
add_thumbnail_if_needed ( &$components ) Add a thumbnail if needed.
anchor_components ( &$components ) Anchor components that are marked as can_be_anchor_target.
anchor_together ( Component $component, Component $target_component ) Given two components, anchor the first one to the second.
get_component_from_shortname ( string $shortname, string $html = null ) : Component Get a component from the shortname.
get_components_from_node ( DomNode $node ) : Component Get a component from a node.
group_body_components ( array $components ) : array Given an array of components in array format, group all the elements of role 'body'. Ignore body elements that have an ID, as they are used for anchoring.
meta_components ( ) : array Meta components are those which were not created from the HTML content.
split_into_components ( ) : array Split components from the source WordPress content.

Описание методов

build() защищенный метод

Builds an array with all the components of this WordPress content.
protected build ( ) : array
Результат array