Code Context <?php }else{ ?>
<?php if(($idHijo !== 0) || ($idHijo == 0 && count($contenido['hijos'][0]) > 0)){ ?>
<h2 style="margin-bottom: 45px;"> <?= $contenido['hijos'][0]['contenido']['titulo'] ?></h2>
$viewFile = '/home/andesestructuras/public_html/src/Template/Pages/detalleestructura.ctp'
$dataForView = [
'detalles_estructurales' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {},
(int) 2 => object(Cake\ORM\Entity) {},
(int) 3 => object(Cake\ORM\Entity) {},
(int) 4 => object(Cake\ORM\Entity) {},
(int) 5 => object(Cake\ORM\Entity) {},
(int) 6 => object(Cake\ORM\Entity) {}
],
'multimediaBaseUrl' => '/../files/multimedias/',
'id' => '16',
'idHijo' => (int) 0,
'contenido' => object(Cake\ORM\Entity) {
'id' => (int) 16,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => (int) 0,
'titulo' => 'Porton',
'copete' => '',
'cuerpo' => '<h4>Con bastidor de caños estructurales 60 x 60 x 1,6 mm. Con ruedas en V de 100 mm en la parte inferior y en la parte superior unas guías plegadas.</h4>
',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'hijos' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
}
]
$detalles_estructurales = [
(int) 0 => object(Cake\ORM\Entity) {
'id' => (int) 42,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => null,
'titulo' => 'Columnas',
'copete' => '',
'cuerpo' => '',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
},
(int) 1 => object(Cake\ORM\Entity) {
'id' => (int) 8,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => null,
'titulo' => 'Anclajes',
'copete' => '',
'cuerpo' => '',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
},
(int) 2 => object(Cake\ORM\Entity) {
'id' => (int) 10,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => null,
'titulo' => 'Bases',
'copete' => '',
'cuerpo' => '',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
},
(int) 3 => object(Cake\ORM\Entity) {
'id' => (int) 12,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => (int) 0,
'titulo' => 'Cabridas',
'copete' => '',
'cuerpo' => '<h4>Pueden ser Parabólicas, a dos aguas o rectas para techos de una caída.</h4>
',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
},
(int) 4 => object(Cake\ORM\Entity) {
'id' => (int) 14,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => (int) 0,
'titulo' => 'Correas',
'copete' => '',
'cuerpo' => '<h4>Con perfiles C pueden ser Pintadas o Galvanizadas, se atornillas las chapas con autoperforantes. En los dos extremos llevan una planchuela de fijación con bulones.</h4>
',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
},
(int) 5 => object(Cake\ORM\Entity) {
'id' => (int) 16,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => (int) 0,
'titulo' => 'Porton',
'copete' => '',
'cuerpo' => '<h4>Con bastidor de caños estructurales 60 x 60 x 1,6 mm. Con ruedas en V de 100 mm en la parte inferior y en la parte superior unas guías plegadas.</h4>
',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
},
(int) 6 => object(Cake\ORM\Entity) {
'id' => (int) 18,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => (int) 0,
'titulo' => 'Tensores',
'copete' => '',
'cuerpo' => '<h4>Se colocan en los laterales y la cubierta, son cruces de San André, para soportar los vientos q va a estar solicitada la estructura, lleva roscas en los extremos para poder ajustarlos.</h4>
',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Contenidos'
}
]
$multimediaBaseUrl = '/../files/multimedias/'
$id = '16'
$idHijo = (int) 0
$contenido = object(Cake\ORM\Entity) {
'id' => (int) 16,
'fecha' => object(Cake\I18n\FrozenTime) {},
'fechahasta' => object(Cake\I18n\FrozenTime) {},
'orden' => (int) 1000,
'contenidostipo_id' => (int) 1,
'contenido_acoplado_id' => (int) 0,
'titulo' => 'Porton',
'copete' => '',
'cuerpo' => '<h4>Con bastidor de caños estructurales 60 x 60 x 1,6 mm. Con ruedas en V de 100 mm en la parte inferior y en la parte superior unas guías plegadas.</h4>
',
'publicado' => null,
'publico' => null,
'protegido' => false,
'template' => (int) 1,
'telefono' => '',
'direccion' => '',
'url' => '',
'ubicacion' => '',
'estructura' => '',
'lateral' => '',
'cubierta' => '',
'medidas' => '',
'email' => '',
'creado' => object(Cake\I18n\FrozenTime) {},
'creado_usuario_id' => (int) 1,
'modificado' => object(Cake\I18n\FrozenTime) {},
'modificado_usuario_id' => (int) 1,
'eliminado' => null,
'eliminado_usuario_id' => (int) 0,
'hijos' => [
(int) 0 => object(Cake\ORM\Entity) {}
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'hijos' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Contenidos'
}
include - APP/Template/Pages/detalleestructura.ctp, line 31
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 796
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 119
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65