PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
tablepress
/
classes
<?php /** * TablePress Table Import File Class * * @package TablePress * @subpackage Import * @author Tobias Bäthge * @since 2.3.0 */ namespace TablePress\Import; // Prohibit direct script loading. defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); /** * TablePress Table Import File Class * * @package TablePress * @subpackage Import * @author Tobias Bäthge * @since 2.3.0 */ class File { /** * Local file path location of the file to import. * * @since 2.3.0 */ public string $location = ''; /** * File extension of the file to import. * * @since 2.3.0 */ public string $extension = ''; /** * MIME type of the file to import. * * @since 2.3.0 */ public string $mime_type = ''; /** * Name of the file to import, used as the table name. * * @since 2.3.0 */ public string $name = ''; /** * Error code related to the import of the file. * * @since 2.3.0 */ public ?\WP_Error $error = null; /** * Whether the file should be kept or deleted after import. * * @since 2.3.0 */ public bool $keep_file = false; /** * Creates a new File object, from an array of file properties. * * @since 1.0.0 * * @param array<string, string|bool|\WP_Error> $properties Array of file properties. */ public function __construct( array $properties ) { foreach ( $properties as $property => $value ) { if ( property_exists( $this, $property ) ) { $this->$property = $value; } } } } // class File
[-] class-evaluate.php
[edit]
[-] class-export.php
[edit]
[-] class-controller.php
[edit]
[-] class-tablepress.php
[edit]
[-] class-render.php
[edit]
[-] class-view.php
[edit]
[-] index.php
[edit]
[-] class-model.php
[edit]
[-] class-import.php
[edit]
[-] class-css.php
[edit]
[-] class-admin-page-helper.php
[edit]
[-] class-import-legacy.php
[edit]
[-] class-wp_option.php
[edit]
[-] class-elementor-widget-table.php
[edit]
[-] class-evaluate-legacy.php
[edit]
[-] class-import-phpspreadsheet.php
[edit]
[-] class-evaluate-phpspreadsheet.php
[edit]
[-] class-wp_user_option.php
[edit]
[-] class-import-base.php
[edit]
[+]
..
[-] class-import-file.php
[edit]