Questions tagged [zend-controller]
114 questions
1
vote
1 answer
Sending Zend_Controller_Response_Http immediately
I'm developing a Rest service. Some external system sends me an XML file which I parse, load data in DB and after that send response - 'scope of concrete object that has been loaded'.
The problem is that parsing and add data to DB takes large time…

Stepchik
- 275
- 1
- 3
- 14
1
vote
1 answer
How can I give priority to one helper in Zend Framework?
I have the following code:
public function _setHelpers() {
Zend_Controller_Action_HelperBroker::addPrefix('My_Controller_Action_Helpers');
Zend_Controller_Action_HelperBroker::addPath ( APPLICATION_PATH . '/controllers/helpers'…

Cito
- 1,659
- 3
- 22
- 49
0
votes
1 answer
Calling Action Of Controller Through onchange of Select But Not Through Ajax (Zend Framework)
i have a html select with options in my views .onchangei want to invoke action of my controller.
Important: i am not going to do this through Ajax because onchange my whole module is changing so i want to refresh a page each time onchange.
…

Edward Maya
- 429
- 2
- 10
- 25
0
votes
3 answers
How to Call Controller Action Through html Select options on change in Zend Framework?
i have the following html in my view
what i…

Fawad Ghafoor
- 6,039
- 7
- 41
- 53
0
votes
2 answers
How to get an xml response in Zend controller and pass it to zend view (mhtml page) and parse it to render it
I get a response in xml format from a url, I wrote that code in a controller. I am able to catch the whole xml in the form of a string. Now i need to pass that xmlString from zend controller to zend view. How to do that. And then parse the xml…

Krishna
- 1,454
- 5
- 16
- 31
0
votes
2 answers
how to pass variable from View To Controller Action In Zend Framework
In my view i have this line of code
Control Panel
in my Login Controller I have this action
public function calllogsAction(){
…

Fawad Ghafoor
- 6,039
- 7
- 41
- 53
0
votes
1 answer
Is there an easy way to apply logging (e.g. Zend_Log) to Zend_Controller_Action_Helper_Redirector?
I've got an application which seems to be stuck in a redirect loop when I put it in a subdirectory of my server (e.g. blah.com/testing/ instead of blah.com/), despite sharing the same code. I think I've handled the redirection stuff incorrectly, but…

Billy ONeal
- 104,103
- 58
- 317
- 552
0
votes
1 answer
ZF: wrong links when using routing in bootstrap
The problem is when generating Zend_Navigation menu in the view all links have "/projects/add/" href.
At the same time when "/projects/list/" is active all links are correct.
The same if I deleted this route - all links are ok.
So, while…

Anthony
- 3,218
- 3
- 43
- 73
0
votes
1 answer
How to Echo a Single text line preceding a Zend Form?
I have a Zend_Form that is being called by the indexAction of my controller. It's a login form for a certain user type. How do I create a hyperlink to the other login forms in other controllers in my IndexController. For example, the…

SidC
- 3,175
- 14
- 70
- 132
0
votes
2 answers
How do I read the url parameters from a ZendFramework Controller
I have a ZendFramework controller whose view forms a framework similar to this:
http://foo.com/#/controler/someaction/state/city/address/
The action looks like this:
public function someactionAction()
{
$this->view->someaction =…

user154107
- 899
- 3
- 10
- 15
0
votes
1 answer
Zend_Controller tries to execute my stylesheets as controller
I initialize my placeholders for my global layout within the Bootstrap.php as described here.
public function _initPlaceholders()
{
$this->bootstrap('View');
$view = $this->getResource('View');
$view->doctype('XHTML11');
…

Partyschaum
- 55
- 1
- 7
0
votes
1 answer
Fastest and easiest way to change controllers' module
I am developing my first Zend website, and I just finished the Back-office. The problem is that I did not create any module, but now that I have to develop the Front-office I would like to create a different module.
Knowing that I already have about…

Jerec TheSith
- 1,932
- 4
- 32
- 41
0
votes
2 answers
Hooking into the Error processing cycle
I'm building a monitoring solution for logging PHP errors, uncaught exceptions and anything else the user wants to log to a database table. Kind of a replacement for the Monitoring solution in the commercial Zend Server.
I've written a Monitor class…

markus
- 40,136
- 23
- 97
- 142
0
votes
1 answer
error while validating form from ini file
Hii...
When I tried to validate zend form using ini file, I am getting the following error message, please help how to fix this
Uncaught Zend_Config_Exception, code: 0
Message: parse_ini_file(views/config/adminvalidate.ini) [

Lakshman Tirlangi
- 103
- 1
- 11
0
votes
2 answers
How to create instance to zend controller
I have a controller named class TestController which extends some Zend_Controller_Action. Now I would like to use create an instance of TestController in TestForms (a Zend_Form). I want to populate a Zend_Form_Element_Select dynamically.
Please…

Lakshman Tirlangi
- 103
- 1
- 11