Ver Mensaje Individual
  #15 (permalink)  
Antiguo 26/07/2011, 08:50
w0rldart
 
Fecha de Ingreso: junio-2009
Ubicación: Madrid
Mensajes: 402
Antigüedad: 14 años, 10 meses
Puntos: 20
Respuesta: Pasar un array por el url

en la otra clase donde esta el checkThumbs() va asi

Código PHP:
class ImgOperations{
         
        
/**
        * Check if thumbs are created?
        * @var bool    
        */
        
public $checkThumbs false;

public function 
load($type){ 
            if(
$this->checkThumbs){
             echo 
"Check thumbs true<br/>";
                 
self::create_thumb();
             }else{
         echo 
"Check thumbs false <br/>";
        }
... 
Tambien mando esa variable desde otro sitio y de alli todo perfeto (con la siguiente linea comentada o no, no tiene efecto):

Código PHP:
$ImgOperations = new ImgOperations();
$ImgOperations->checkThumbs false