PHP Classes

File: src/Script/Action/PageValue.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   src/Script/Action/PageValue.php   Download  
File: src/Script/Action/PageValue.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: 4 months ago
Size: 607 bytes
 

Contents

Class file image Download
<?php

/**
 * PageValue.php
 *
 * The value for page numbers.
 *
 * @package jaxon-core
 * @copyright 2025 Thierry Feuzeu <thierry.feuzeu@gmail.com>
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
 * @link https://github.com/jaxon-php/jaxon-core
 */

namespace Jaxon\Script\Action;

class
PageValue extends TypedValue
{
   
/**
     * @return string
     */
   
public function getType(): string
   
{
        return
'page';
    }

   
/**
     * @return array
     */
   
public function jsonSerialize(): array
    {
        return [
'_type' => 'page', '_name' => ''];
    }
}