!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/main_file/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/   drwxr-xr-x
Free 13.22 GB of 57.97 GB (22.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace PhpOffice\PhpSpreadsheet\Style;

use 
PhpOffice\PhpSpreadsheet\IComparable;
use 
PhpOffice\PhpSpreadsheet\Spreadsheet;
use 
PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;

abstract class 
Supervisor implements IComparable
{
    
/**
     * Supervisor?
     *
     * @var bool
     */
    
protected $isSupervisor;

    
/**
     * Parent. Only used for supervisor.
     *
     * @var Spreadsheet|Supervisor
     */
    
protected $parent;

    
/**
     * Parent property name.
     *
     * @var null|string
     */
    
protected $parentPropertyName;

    
/**
     * Create a new Supervisor.
     *
     * @param bool $isSupervisor Flag indicating if this is a supervisor or not
     *                                    Leave this value at default unless you understand exactly what
     *                                        its ramifications are
     */
    
public function __construct($isSupervisor false)
    {
        
// Supervisor?
        
$this->isSupervisor $isSupervisor;
    }

    
/**
     * Bind parent. Only used for supervisor.
     *
     * @param Spreadsheet|Supervisor $parent
     * @param null|string $parentPropertyName
     *
     * @return $this
     */
    
public function bindParent($parent$parentPropertyName null)
    {
        
$this->parent $parent;
        
$this->parentPropertyName $parentPropertyName;

        return 
$this;
    }

    
/**
     * Is this a supervisor or a cell style component?
     *
     * @return bool
     */
    
public function getIsSupervisor()
    {
        return 
$this->isSupervisor;
    }

    
/**
     * Get the currently active sheet. Only used for supervisor.
     *
     * @return Worksheet
     */
    
public function getActiveSheet()
    {
        return 
$this->parent->getActiveSheet();
    }

    
/**
     * Get the currently active cell coordinate in currently active sheet.
     * Only used for supervisor.
     *
     * @return string E.g. 'A1'
     */
    
public function getSelectedCells()
    {
        return 
$this->getActiveSheet()->getSelectedCells();
    }

    
/**
     * Get the currently active cell coordinate in currently active sheet.
     * Only used for supervisor.
     *
     * @return string E.g. 'A1'
     */
    
public function getActiveCell()
    {
        return 
$this->getActiveSheet()->getActiveCell();
    }

    
/**
     * Implement PHP __clone to create a deep clone, not just a shallow copy.
     */
    
public function __clone()
    {
        
$vars get_object_vars($this);
        foreach (
$vars as $key => $value) {
            if ((
is_object($value)) && ($key != 'parent')) {
                
$this->$key = clone $value;
            } else {
                
$this->$key $value;
            }
        }
    }

    
/**
     * Export style as array.
     *
     * Available to anything which extends this class:
     * Alignment, Border, Borders, Color, Fill, Font,
     * NumberFormat, Protection, and Style.
     */
    
final public function exportArray(): array
    {
        return 
$this->exportArray1();
    }

    
/**
     * Abstract method to be implemented in anything which
     * extends this class.
     *
     * This method invokes exportArray2 with the names and values
     * of all properties to be included in output array,
     * returning that array to exportArray, then to caller.
     */
    
abstract protected function exportArray1(): array;

    
/**
     * Populate array from exportArray1.
     * This method is available to anything which extends this class.
     * The parameter index is the key to be added to the array.
     * The parameter objOrValue is either a primitive type,
     * which is the value added to the array,
     * or a Style object to be recursively added via exportArray.
     *
     * @param mixed $objOrValue
     */
    
final protected function exportArray2(array &$exportedArraystring $index$objOrValue): void
    
{
        if (
$objOrValue instanceof self) {
            
$exportedArray[$index] = $objOrValue->exportArray();
        } else {
            
$exportedArray[$index] = $objOrValue;
        }
    }

    
/**
     * Get the shared style component for the currently active cell in currently active sheet.
     * Only used for style supervisor.
     *
     * @return mixed
     */
    
abstract public function getSharedComponent();

    
/**
     * Build style array from subcomponents.
     *
     * @param array $array
     *
     * @return array
     */
    
abstract public function getStyleArray($array);
}

:: 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.0115 ]--