PHP 클래스 WPLib_Post_List_Base, wplib

상속: extends WPLib_List_Base
파일 보기 프로젝트 열기: wplib/wplib

공개 메소드들

메소드 설명
__construct ( array $posts, array $args = [] )
get_element_index ( WPLib_Post_Base $element ) : boolean | mixed Get index value for an object stored in a list.
post_types ( )

메소드 상세

__construct() 공개 메소드

public __construct ( array $posts, array $args = [] )
$posts array
$args array

get_element_index() 공개 메소드

Can be reindex on a post property.
public get_element_index ( WPLib_Post_Base $element ) : boolean | mixed
$element WPLib_Post_Base
리턴 boolean | mixed

post_types() 공개 메소드

public post_types ( )