Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
backend-mcafee
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
backend-mcafee
Commits
a44d176e
Commit
a44d176e
authored
Oct 05, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mejoras menores
prueba de css
parent
f1721ffd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
20 deletions
+8
-20
src/WsBundle/Controller/v1/CampaniaApiController.php
src/WsBundle/Controller/v1/CampaniaApiController.php
+8
-20
No files found.
src/WsBundle/Controller/v1/CampaniaApiController.php
View file @
a44d176e
...
...
@@ -243,24 +243,16 @@ class CampaniaApiController extends ApiController {
$log
->
debug
(
"generando html relacionado al head de la campaña..."
);
foreach
(
$contenidosHead
as
$key
=>
$contenidoHead
)
:
$log
->
debug
(
"id de la fila : "
.
$contenidoHead
->
getCcoFila
());
reset
(
$contenidosHead
);
if
(
$key
==
key
(
$contenidosHead
)){
$html
=
$html
.
"<div id ='fila_head_"
.
$contenidoHead
->
getCcoFila
()
.
"' class='row'>"
;
$log
->
debug
(
"KEY
$key
| HTML
$html
"
);
}
else
if
(
$fila
!=
$contenidoHead
->
getCcoFila
()){
$html
=
""
;
$html
=
$html
.
"</div><div id ='fila_head_"
.
$contenidoHead
->
getCcoFila
()
.
"' class='row'>"
;
$log
->
debug
(
"KEY
$key
| HTML
$html
"
);
$log
->
debug
(
"valor fila actual
$fila
"
);
if
(
$fila
!=
$contenidoHead
->
getCcoFila
()
){
if
(
$fila
!=
0
)
$html
=
$html
.
"</div>"
;
$log
->
debug
(
"generando nueva fila..."
);
$fila
=
$contenidoHead
->
getCcoFila
();
$html
=
"<div id='fila_id_'"
.
$contenidoHead
->
getCcoId
()
.
">"
;
}
else
{
}
else
if
(
$fila
==
$contenidoHead
->
getCcoFila
()){
$html
=
""
;
$log
->
debug
(
"KEY
$key
| HTML
$html
"
);
}
$szerContenidoHead
=
new
szerHeadContenido
();
$szerContenidoHead
->
setId
(
$contenidoHead
->
getCcoId
());
$szerContenidoHead
->
setFila
(
$contenidoHead
->
getCcoFila
());
...
...
@@ -275,11 +267,7 @@ class CampaniaApiController extends ApiController {
$indice
++
;
$fila
=
$contenidoHead
->
getCcoFila
();
end
(
$contenidosHead
);
if
(
$key
===
key
(
$contenidosHead
)){
$html
=
$html
.
"</div>"
;
$log
->
debug
(
"KEY
$key
| HTML
$html
"
);
}
endforeach
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment