403Webshell
Server IP : 104.26.4.103  /  Your IP : 216.73.217.51
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-191-generic #201-Ubuntu SMP Fri Aug 7 18:39:04 UTC 2026 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/leapdubai/public_html/wp-content/plugins/kirki/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/leapdubai/public_html/wp-content/plugins/kirki/app/Models/Form.php
<?php

namespace Kirki\App\Models;

defined('ABSPATH') || exit;

use Kirki\Framework\Database\Query\Model;

/**
 * Form model — maps to the `kirki_forms` table (KIRKI_FORM_TABLE).
 *
 * One row per form element rendered on a post/page. Submitted entries are
 * stored in the related `kirki_forms_data` table via {@see FormData}.
 */
class Form extends Model
{
	/**
	 * The database table (without prefix; the connection adds it).
	 *
	 * @var string
	 */
	protected $table = 'kirki_forms';

	/**
	 * The primary key column.
	 *
	 * @var string
	 */
	protected $primary_key = 'id';

	/**
	 * created_at / updated_at are handled by the table's CURRENT_TIMESTAMP
	 *
	 * @var bool
	 */
	protected $timestamps = true;

	/**
	 * Mass-assignable attributes.
	 *
	 * @var array
	 */
	protected $fillable = [
		'post_id',
		'form_ele_id',
		'name',
	];

	/**
	 * Attribute casts.
	 *
	 * @var array
	 */
	protected $casts = [
		'id' => 'integer',
		'post_id' => 'integer',
	];

	/**
	 * Submitted entries for this form.
	 *
	 * @return \Kirki\Framework\Database\Query\Relations\HasMany
	 */
	public function submissions()
	{
		return $this->has_many(FormData::class, 'form_id', 'id');
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit