메소드 | 설명 | |
---|---|---|
collection ( ) : |
Returns "last set" Collection object after calling ResourceTable::of | |
getSearchValue ( string $name ) : mixed | Returns search form default value | |
of ( |
Sets builder and returns collection | |
setCustomView ( string $customView ) | Set custom view name if you've created your own ResourceTable template | |
setFilter ( boolean $filter ) | Set true if you wan to enable filter | |
setPage ( integer $page ) | Current page | |
setPaginate ( boolean $paginate ) | Set false if you dont want to use pagination | |
setPaginationPresenter ( string $presenter ) | Set pagination presenter class name | |
setPerPage ( integer $perPage ) | How many results per page | |
setRendererNamespace ( string $namespace ) | Set renderers default namespace to prevent long renderers names | |
setView ( string $view ) | Set ResourceTable built-in view name | |
validColumnType ( string $type ) : boolean | Returns array with valid column type options |
메소드 | 설명 | |
---|---|---|
_addCustomAttributes ( |
Sets custom configuration (if set) on given Collection |
public static collection ( ) : |
||
리턴 |
public static getSearchValue ( string $name ) : mixed | ||
$name | string | |
리턴 | mixed |
public static of ( |
||
$builder | ||
리턴 |
public static setCustomView ( string $customView ) | ||
$customView | string |
public static setPaginate ( boolean $paginate ) | ||
$paginate | boolean |
public static setPaginationPresenter ( string $presenter ) | ||
$presenter | string |
public static setPerPage ( integer $perPage ) | ||
$perPage | integer |
public static setRendererNamespace ( string $namespace ) | ||
$namespace | string |
public static validColumnType ( string $type ) : boolean | ||
$type | string | |
리턴 | boolean |