PHP Classes

File: src/App/Pagination/Page.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   src/App/Pagination/Page.php   Download  
File: src/App/Pagination/Page.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 1 year ago
Size: 634 bytes
 

 

Contents

Class file image Download
<?php

/**
 * Page.php - A page link for the Jaxon Paginator
 *
 * @package jaxon-core
 * @copyright 2024 Thierry Feuzeu
 * @license https://opensource.org/licenses/MIT MIT License
 * @link https://github.com/jaxon-php/jaxon-core
 */

namespace Jaxon\App\Pagination;

class Page
{
    /**
     * @var string
     */
    public $sType;

    /**
     * @var string
     */
    public $sText;

    /**
     * @var string
     */
    public $nNumber;

    public function __construct(string $sType, string $sText, int $nNumber)
    {
        $this->sType = $sType;
        $this->sText = $sText;
        $this->nNumber = $nNumber;
    }
}