Questions tagged as 'zend'

1
answer

Error configuring Doctrine + Zend

Hello, I'm trying to configure Doctrine ORM to work with the Zend Framework, and when I give the 'bin / doctrine-module' command the following error appears: PHP Fatal error: Uncaught exception 'Zend\ModuleManager\Exception\Run...
asked by 04.04.2015 / 22:56
1
answer

Router on Zend 1.12 hide controller and action

Hello, I want to make the user not see my controller and the action in ZF 1.12. Ex: http://meusite.com/produtos/listar/item/iphone-5s-preto I want it to look like this: http://meusite.com/iphone-5s-preto.html You do not even need...
asked by 28.04.2015 / 00:16
1
answer

Zend_Session and Zend_Pagination with form search

I'm having problems with paging with form lookup in Zend Framework 1. There is a method in the model that does a query with where to bring the result according to the research done, and pagination if done without session only works the first...
asked by 11.02.2015 / 17:15
1
answer

Delete record without page refresh?

I have the following Ajax / Jquery to delete a record according to the action of a href. <script type="text/javascript"> function apagarRegistro(idTel) { var baseurl = '<?php echo $sig_url;?>'; $.a...
asked by 13.02.2015 / 13:51
1
answer

Error starting application using ZendFramework

I started studying the Zendframework and I configured it as recommended. By calling the project I created with the default code, it works perfectly. When I comment all index.php and add the code: include 'Zend.php'; Zend_Loader::load...
asked by 20.07.2015 / 15:55
1
answer

Using libraries downloaded by Composer in Zend Framework 1

What is the best way to use libraries downloaded by Composer along with Zend Framework 1? I saw the next link , explaining how to do this procedure however in a way that does not seem to be much correct. In a comment it is said to leave t...
asked by 21.10.2014 / 18:25
1
answer

How to Use Zend 2 + MapServer

How do I use the MapServer() functions inside the Zend controller? I'm using MS4W which has Apache, PHP and MapServer. If it were straight, it would look something like this: <?php $mapserver = MapServer(); $obj = $mapserver ->...
asked by 22.10.2014 / 13:41
1
answer

Zend Framework 2 add simple mode assets

Good afternoon, guys, I've been working with Zend for a long time and I'm structuring a project with Zend 2. I just discovered that to add a simple css file out of the public / css folder I have to install an entire module and am simply puzzled ....
asked by 20.08.2014 / 22:25
1
answer

Switch in ZF 1 Application.ini configuration

Inside the Zend Framework Application.ini I have the following configuration: resources.multidb.sga.adapter = "PDO_MYSQL" resources.multidb.sga.host = "host.acula.net" resources.multidb.sga.username = "usuario" resources.multidb.sga.password...
asked by 04.11.2014 / 19:18
1
answer

View all Model data in Zend Framework 1

The way I have this explorer I get only 1 data from each table, but I would like to understand how I would print it all. // Criamos o objeto do model da tabela 'carros'. $carrosModel = new Application_Model_Carros(); // Pegamos o carro de...
asked by 29.07.2014 / 21:05