コード例 #1
0
ファイル: ci_catalogo_objetos.php プロジェクト: emma5021/toba
 function evt__fotos__seleccion($nombre)
 {
     unset($this->s__opciones);
     switch ($nombre['foto_nombre']) {
         case self::foto_ext_rotas:
             $this->s__opciones['extensiones_rotas'] = 1;
             break;
         case self::foto_huerfanos:
             $this->s__opciones['huerfanos'] = 1;
             break;
         default:
             parent::evt__fotos__seleccion($nombre);
     }
 }
コード例 #2
0
ファイル: ci_catalogo_items.php プロジェクト: emma5021/toba
 function evt__fotos__seleccion($nombre)
 {
     switch ($nombre['foto_nombre']) {
         case apex_foto_inicial:
             $this->s__opciones = array();
             break;
         case self::foto_inaccesibles:
             $this->s__opciones = array();
             $this->s__opciones['inaccesibles'] = true;
             break;
         case self::foto_sin_objetos:
             $this->s__opciones = array();
             $this->s__opciones['sin_objetos'] = true;
             break;
         default:
             parent::evt__fotos__seleccion($nombre);
     }
 }