PHP Class think\paginator\Collection

Inheritance: extends think\Collection
显示文件 Open project: top-think/framework Class Usage Examples

Protected Properties

Property Type Description
$paginator think\Paginator

Public Methods

Method Description
__call ( $method, $args )
__construct ( $items = [], Paginator $paginator = null )
make ( $items = [], Paginator $paginator = null )
toArray ( )

Method Details

__call() public method

public __call ( $method, $args )

__construct() public method

public __construct ( $items = [], Paginator $paginator = null )
$paginator think\Paginator

make() public static method

public static make ( $items = [], Paginator $paginator = null )
$paginator think\Paginator

toArray() public method

public toArray ( )

Property Details

$paginator protected_oe property

protected Paginator,think $paginator
return think\Paginator