Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Timber
PostCollection
PHP 클래스 Timber\PostCollection
상속:
extends
ArrayObject
파일 보기
프로젝트 열기: jarednova/timber
1 사용 예제들
공개 메소드들
메소드
설명
__construct
(
$posts
= [],
$post_class
= '\Timber\Post' )
get_posts
( )
maybe_set_preview
(
array
$posts
) :
array
보호된 메소드들
메소드
설명
init
(
$posts
,
$post_class
)
메소드 상세
__construct()
공개
메소드
public
__construct
(
$posts
= [],
$post_class
= '\Timber\Post' )
get_posts()
공개
메소드
public
get_posts
( )
init()
보호된
정적인
메소드
protected
static
init
(
$posts
,
$post_class
)
maybe_set_preview()
공개
정적인
메소드
public
static
maybe_set_preview
(
array
$posts
) :
array
$posts
array
리턴
array