Phalcon\Paginator\Repository
Класс Phalcon\Paginator\Repository
Пространство имен | Phalcon\Paginator |
Использует | JsonSerializable, Phalcon\Helper\Arr |
Реализует | RepositoryInterface, JsonSerializable |
Phalcon\Paginator\Repository
Репозиторий текущего состояния Phalcon\Paginator\AdapterInterface::paginate()
Свойства
/** * @var array */ protected aliases; /** * @var array */ protected properties;
Methods
public function __get( string $property ): mixed | null;
public function getAliases(): array;
public function getCurrent(): int;
public function getFirst(): int;
public function getItems(): mixed;
public function getLast(): int;
public function getLimit(): int;
public function getNext(): int;
public function getTotalItems(): int;
public function jsonSerialize(): array;
public function setAliases( array $aliases ): RepositoryInterface;
public function setProperties( array $properties ): RepositoryInterface;
protected function getProperty( string $property, mixed $defaultValue = null ): mixed;
protected function getRealNameProperty( string $property ): string;