403Webshell
Server IP : 172.67.71.254  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 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/rimskannur/public_html/wp-content/plugins/ninja-forms/includes/Contracts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/rimskannur/public_html/wp-content/plugins/ninja-forms/includes/Contracts/Field.php
<?php

namespace NinjaForms\Includes\Contracts;


/**
 * Contract that mimics methods from NF_Database_Models_Field
 *
 * Provides functionality normally handled by the field object created by
 * \Ninja_Forms()->form()->get_field( $fieldId )
 *
 *
 */
Interface Field
{

    /**
     * Get field type
     *
     * @return string
     */
    public function get_type(): string;

    /** 
     * Get a field setting
     *
     * @param string $setting
     * @param mixed $default
     * @return mixed
     */
    public function get_setting($setting, $default = FALSE);

    /**
     * Get all field settings
     * 
     * @return array
     */
    public function get_settings(): array;

    /** 
     * Update a field setting
     *
     * @param string $key
     * @param mixed $value
     */
    public function update_setting($key, $value): Field;
    

    /**
     * Update all settings
     *
     * @param array $data
     * @return Field
     */
    public function update_settings($data): Field;

    /**
     * Delete field
     *
     * @return void
     */
    public function delete();

    /**
     * Find
     *
     * @param string $parent_id
     * @param array $where
     * @return array
     */
    public function find($parent_id = '', array $where = array()): array;

    /**
     * Get object settings
     *
     * @param [type] $obj_array
     * @return array
     */
    public function get_object_settings($obj_array): array;

    /**
     * Save field
     *
     * @return void
     */
    public function save();

    /**
     * Insert row
     *
     * @param array $data
     * @return void
     */
    public function _insert_row($data = array()): void;
    
    /**
     * Cache
     *
     * @param string $cache
     * @return Field
     */
    public function cache($cache = ''): Field;

    /**
     * Add parent
     *
     * @param [type] $parent_id
     * @param [type] $parent_type
     * @return Field
     */
    public function add_parent($parent_id, $parent_type): Field;

    /**
     * Import field
     *
     * @param array $settings
     * @param string $field_id
     * @param boolean $is_conversion
     * @return void
     */
    public static function import(array $settings, $field_id = '', $is_conversion = FALSE): void;



}

Youez - 2016 - github.com/yon3zu
LinuXploit