ThinkPHP5


think\paginator\Collection
library\think\paginator\Collection.php at line 29

Class Collection

\think\Collection
└─Collection

public class Collection
extends \think\Collection

Class Collection

Method:
integer total()
integer listRows()
integer currentPage()
string render()
Paginator fragment($fragment)
Paginator appends($key, $value)
integer lastPage()
boolean hasPages()

Constructor Summary
void

__construct(mixed items, Paginator paginator)

Method Summary
static void

make(mixed items, Paginator paginator)

static void

toArray()

Constructor Detail

library\think\paginator\Collection.php at line 35

__construct

public void __construct(mixed items, Paginator paginator)

Method Detail

library\think\paginator\Collection.php at line 41

make

public static void make(mixed items, Paginator paginator)

library\think\paginator\Collection.php at line 46

toArray

public static void toArray()

ThinkPHP5