Questions tagged [zend-controller]
114 questions
0
votes
1 answer
Zend - How pass values from API (class) to controller?
If I build a custom API (class) and want to pass the values obtained from an API call to my controller, how do I do that? Usually I have do this in my controller:
$form = new Application_My_Form();
$model = new…

ews2001
- 2,176
- 3
- 26
- 38
0
votes
1 answer
Zend plugin to capture referrer for every visitor
To build some simple analytics for our site - I am trying to capture the source from where the user lands on our page and if he ends up registering - store the source in the database.
Since this code has to be on all the pages - I thought of adding…

Gublooo
- 2,550
- 8
- 54
- 91
0
votes
2 answers
Zend_controller_request_Asbtract URL is not changing
I am using the code below to make the ACL not allowed roles to be redirected to a specific page, the problem is that it is working fine by routing the user to the page needed but without changing the URL. So lets assume a user is trying to go to the…

dori naji
- 980
- 1
- 16
- 41
0
votes
1 answer
Zend keep front controller from blocking image requests
Anytime I use an
tag in my Zend Framework application, no image is displayed. When I type the absolute path into the address bar, the front controller attempts to find an "images" controller.
There HAS to be a way I can use

Brian Vanderbusch
- 3,313
- 5
- 31
- 43
0
votes
2 answers
Zend framework : no other Action except index action in the controller is callable
I have a controller file with the two actions i.e :
class IndexController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
//…

Faizan Ali
- 509
- 12
- 35
0
votes
1 answer
Zend_Application issue with extending Frontcontroller and using extended Frontcontroller application resource
I extended the Zend Frontcontroller with a personal one and also extended the frontcontroller application resource to use my personal front controller. All it basically does for the moment is assign the front variable within the application resource…

somejkuser
- 8,856
- 20
- 64
- 130
0
votes
1 answer
can I use Zend_Service_LiveDocx to READ .doc and .docx content and convert it into text...?
I want to READ ( not write into) .doc and .docx files and need to extract text out of them..
I tried many methods but some works good only for .docx and not for .doc
I got to know that Zend_Service_LiveDocx can do this but not sure how to do…

Manojkumar
- 1,351
- 5
- 35
- 63
-1
votes
1 answer
how to get table id in zf2?
I make a view file in ZF2.In which i pass id to the controller.
How i get this id in controller?
Here is my showAction code where i want to get id:
public function showAction()
{
$id = (int) $this->params()->fromRoute('id', 0);
…

Muhammad Arif
- 1,014
- 3
- 22
- 56
-1
votes
2 answers
In Zend Framework how can I run another action and get it's view output in a variable
If there's a better way to structure this to achieve my goals your thoughts are welcome.
I have a CMS where users can edit pages (sidebars, headers etc) these are all done in the IndexController.
Some pages need their own controller,…

Mill Hill Automation
- 199
- 1
- 8