403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/Models/Campaign.php
<?php

namespace IAWP\Models;

/** @internal */
class Campaign extends \IAWP\Models\Model
{
    use \IAWP\Models\Universal_Model_Columns;
    protected $row;
    private $title;
    private $utm_source;
    private $utm_medium;
    private $utm_campaign;
    private $utm_term;
    private $utm_content;
    public function __construct($row)
    {
        $this->row = $row;
        $this->title = $row->title;
        $this->utm_source = $row->utm_source;
        $this->utm_medium = $row->utm_medium;
        $this->utm_campaign = $row->utm_campaign;
        $this->utm_term = $row->utm_term;
        $this->utm_content = $row->utm_content;
    }
    public function id() : int
    {
        return $this->row->campaign_id;
    }
    public function table_type() : string
    {
        return 'campaigns';
    }
    /*
     * Column names have shared logic between tables. So "title" for resources has the same logic
     * as "title" for campaigns. Adding is_deleted ensures that the method can be called even though
     * campaigns can never be deleted. A better code base would allow this to be removed.
     */
    public function is_deleted()
    {
        return \false;
    }
    public function title()
    {
        return $this->title;
    }
    public function utm_source()
    {
        return $this->utm_source;
    }
    public function utm_medium()
    {
        return $this->utm_medium;
    }
    public function utm_campaign()
    {
        return $this->utm_campaign;
    }
    public function utm_term()
    {
        return $this->utm_term;
    }
    public function utm_content()
    {
        return $this->utm_content;
    }
    /**
     * This isn't building a URL param that's used in a URL. This is building a unique id that's
     * used for uniqueness in real-times most popular campaign list.
     *
     * @return string
     */
    public function params() : string
    {
        return \http_build_query(['title' => $this->title(), 'utm_source' => $this->utm_source(), 'utm_medium' => $this->utm_medium(), 'utm_campaign' => $this->utm_campaign(), 'utm_term' => $this->utm_term(), 'utm_content' => $this->utm_content()]);
    }
    public function examiner_title() : ?string
    {
        return $this->title();
    }
    public function examiner_url() : string
    {
        return \IAWPSCOPED\iawp_dashboard_url(['tab' => 'campaigns', 'examiner' => $this->id()]);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit