PHP Class App\Repositories\Backend\History\EloquentHistoryRepository

Inheritance: implements App\Repositories\Backend\History\HistoryContract
Afficher le fichier Open project: rappasoft/laravel-5-boilerplate

Méthodes publiques

Méthode Description
buildList ( $history, boolean $paginate = true ) : string
buildPagination ( $query, $limit, $paginate, $pagination ) : mixed
log ( $type, $text, null $entity_id = null, null $icon = null, null $class = null, null $assets = null ) : boolean | static
render ( null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
renderDescription ( $text, boolean $assets = false ) : mixed | string
renderEntity ( $type, $entity_id, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
renderType ( $type, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface

Private Methods

Méthode Description
checkType ( $query, $type ) : mixed

Method Details

buildList() public méthode

public buildList ( $history, boolean $paginate = true ) : string
$history
$paginate boolean
Résultat string

buildPagination() public méthode

public buildPagination ( $query, $limit, $paginate, $pagination ) : mixed
$query
$limit
$paginate
$pagination
Résultat mixed

log() public méthode

public log ( $type, $text, null $entity_id = null, null $icon = null, null $class = null, null $assets = null ) : boolean | static
$type
$text
$entity_id null
$icon null
$class null
$assets null
Résultat boolean | static

render() public méthode

public render ( null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
$limit null
$paginate boolean
$pagination integer
Résultat string | Symfony\Component\Translation\TranslatorInterface

renderDescription() public méthode

public renderDescription ( $text, boolean $assets = false ) : mixed | string
$text
$assets boolean
Résultat mixed | string

renderEntity() public méthode

public renderEntity ( $type, $entity_id, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
$type
$entity_id
$limit null
$paginate boolean
$pagination integer
Résultat string | Symfony\Component\Translation\TranslatorInterface

renderType() public méthode

public renderType ( $type, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
$type
$limit null
$paginate boolean
$pagination integer
Résultat string | Symfony\Component\Translation\TranslatorInterface