Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.171.53
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
musonza /
chat /
src /
Traits /
Delete
Unzip
Name
Size
Permission
Date
Action
Messageable.php
1.33
KB
-rw-r--r--
2021-02-02 18:21
Paginates.php
1.35
KB
-rw-r--r--
2021-02-02 18:21
SetsParticipants.php
939
B
-rw-r--r--
2021-02-02 18:21
Save
Rename
<?php namespace Musonza\Chat\Traits; trait Paginates { protected $perPage = 25; protected $page = 1; protected $sorting = 'asc'; protected $columns = ['*']; protected $pageName = 'page'; protected $deleted = false; /** * Set the limit. * * @param int $limit * * @return $this */ public function limit($limit) { $this->perPage = $limit ? $limit : $this->perPage; return $this; } /** * Set current page for pagination. * * @param int $page * * @return $this */ public function page(int $page) { $this->page = $page ? $page : $this->page; return $this; } public function perPage(int $perPage) { $this->perPage = $perPage; return $this; } public function deleted() { $this->deleted = true; return $this; } public function setPaginationParams($params) { foreach ($params as $key => $value) { $this->{$key} = $value; } return $this; } public function getPaginationParams() { return [ 'page' => $this->page, 'perPage' => $this->perPage, 'sorting' => $this->sorting, 'columns' => $this->columns, 'pageName' => $this->pageName, ]; } }