PHP Interface App\Repositories\Backend\History\HistoryContract

Show file Open project: rappasoft/laravel-5-boilerplate

Public Methods

Method Description
buildList ( $history, boolean $paginate = true ) : mixed
buildPagination ( $query, $limit, $paginate, $pagination ) : mixed
log ( $type, $text, null $entity_id = null, null $icon = null, null $class = null, null $assets = null ) : mixed
render ( null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : mixed
renderDescription ( $text, boolean $assets = false ) : mixed
renderEntity ( $type, $entity_id, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : mixed
renderType ( $type, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : mixed

Method Details

buildList() public method

public buildList ( $history, boolean $paginate = true ) : mixed
$history
$paginate boolean
return mixed

buildPagination() public method

public buildPagination ( $query, $limit, $paginate, $pagination ) : mixed
$query
$limit
$paginate
$pagination
return mixed

log() public method

public log ( $type, $text, null $entity_id = null, null $icon = null, null $class = null, null $assets = null ) : mixed
$type
$text
$entity_id null
$icon null
$class null
$assets null
return mixed

render() public method

public render ( null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : mixed
$limit null
$paginate boolean
$pagination integer
return mixed

renderDescription() public method

public renderDescription ( $text, boolean $assets = false ) : mixed
$text
$assets boolean
return mixed

renderEntity() public method

public renderEntity ( $type, $entity_id, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : mixed
$type
$entity_id
$limit null
$paginate boolean
$pagination integer
return mixed

renderType() public method

public renderType ( $type, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : mixed
$type
$limit null
$paginate boolean
$pagination integer
return mixed