PHP 클래스 AMP_DOM_Utils, amp-wp

파일 보기 프로젝트 열기: Automattic/amp-wp 1 사용 예제들

공개 메소드들

메소드 설명
add_attributes_to_node ( $node, $attributes )
create_node ( $dom, $tag, $attributes )
get_content_from_dom ( $dom )
get_dom_from_content ( $content )
get_node_attributes_as_assoc_array ( $node )
is_node_empty ( $node )
recursive_force_closing_tags ( $dom, $node )

비공개 메소드들

메소드 설명
is_self_closing_tag ( $tag )

메소드 상세

add_attributes_to_node() 공개 정적인 메소드

public static add_attributes_to_node ( $node, $attributes )

create_node() 공개 정적인 메소드

public static create_node ( $dom, $tag, $attributes )

get_content_from_dom() 공개 정적인 메소드

public static get_content_from_dom ( $dom )

get_dom_from_content() 공개 정적인 메소드

public static get_dom_from_content ( $content )

get_node_attributes_as_assoc_array() 공개 정적인 메소드

public static get_node_attributes_as_assoc_array ( $node )

is_node_empty() 공개 정적인 메소드

public static is_node_empty ( $node )

recursive_force_closing_tags() 공개 정적인 메소드

public static recursive_force_closing_tags ( $dom, $node )