Posts by Rudi Rocha • 91 points
6 posts
-
1
votes1
answer113
viewsA: I cannot add methods to the Vuejs button
I think your problem is the way you make the buttons. In practice you are generating HTML through a JS function and making "print" of it dynamically. Instead of: for(var i = 0; i <…
vue.jsanswered Rudi Rocha 91 -
1
votes2
answers255
viewsA: Select repository-specific columns in Doctrine 2
Starting with the second question, you have the possibility to use query Builders $query = $em->createQuery('SELECT u.id FROM CmsUser u'); $ids = $query->getResult(); // array of CmsUser ids…
-
4
votes2
answers143
viewsA: Class is not embedded in DOM(Jquery)
Cheers! Your problem is the use of the wrong events. You should use mouseover and mouseout look at an example working: $(document).ready(function(){ //evento quando o rato fica sob o elemento…
-
1
votes2
answers72
viewsA: On the creation of variables
You have two things wrong. One in the controller: You’re doing return of a different variable: //estás a fazer return $viewModel; e devia ser return $view; In the action you also have the variable…
-
1
votes2
answers278
viewsA: ZF1 resulting from controller in view
How are you doing in the view to consume the data? should be the type: <?php foreach($resultadoFilmes as $filme): ?> <?php echo $filme->title; ?> <?php endforeach;?> Helped?…
-
1
votes1
answer89
viewsA: View all Model data in Zend Framework 1
I don’t quite understand your question. If you want to access the data of all cars you should use the method fetchAll(); Type $select = $carrosModel->select(); $select->orderBy("id ASC");…