Zend Framework is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License.
learn more… | top users | synonyms (2) | zend framework jobs
0
votes
0answers
3 views
How to limit auto break line for draw PDF
I am using Zend-pdf to draw data that get from database. but when i get a long data it's make me draw duplicate data like:
For my own idea I want limit length of data, if it's long than length I ...
0
votes
1answer
10 views
Change gc_max_lifetime AFTER session is started
I'm in a (unique?) situation where I want people who are logged in to stay logged in as long as possible. Ideally, a month (marketing wanted a year). We are storing session data in a database rather ...
0
votes
1answer
20 views
get View.php file as JSON object
How can I get the view.php file as a json object in Zend framework? Right now I'm using this in controller:
// in controller
public function helloAction()
{
$this->view->meta->title = ...
0
votes
1answer
11 views
ZendFramework2 - Literal- or Segment-Routing and Parameters
I am using ZendFramework 2.x and trying to add a route to some existing ones. Moreover I want to put some parameters in die URL as well. If I use the segment-type for my new route ('showroom') I am ...
0
votes
0answers
6 views
Zend ACL: determine if user is in ARO group
I've got phpgacl installed on ZF1. Normally I use something like
if($this->_helper->acl(array('access', 'something'))
or the like. My question is, how do I determine if a user is a member of ...
-1
votes
0answers
12 views
How can i change the column name of a grid table?
How can I change the column name of a grid table which I am deploying? I do not want the process to be done in query like this:
select name, ip_usage as 'ip_usage_%';
In this process I am unable ...
0
votes
1answer
23 views
PayPal API with Zend Framework
Hi I want to integrate Paypal API in my Zend FW 1 application.
my code is
$this->setHeaders(
array(
'Authorization' => '<REMOVED>',
...
0
votes
0answers
9 views
Updating Zend_Registry
In my custom ACL preDispatch function, I set some variables in the Zend_Registry. In one of my actions, I would like to update one of these Zend_Registry values.
However, no matter what I do, I ...
0
votes
1answer
12 views
Zend Url Helper.. not so helpful
I am having some problems with Zend Url helper. As far as I can see I am doing everything right according to the manual. My route is:
$route = new ...
0
votes
0answers
11 views
Zend Framework - How to combine Zend_Rest_Route with Zend_Controller_Router_Route_Regex?
I want to have restfull controllers working with different formats (JSON, XML). The way I was trying to have this working is something like:
/api/users.json
This must go to the api module, users ...
0
votes
1answer
25 views
Inject Doctrine Entity Manager to Zf2 Form
I tried to inject doctrine entity manager in zf2 form in the way that is described here
http://zf2cheatsheet.com/#doctrine (Inject the Entity Manager to Form) but it fails with error _construct() ...
0
votes
2answers
20 views
How to disable SQL Query echo in Magento
I have create module for testing in Magento and i call change action url from browser and there SQL query for catalog/product is printed.
I user this code
<?php
class Test_Demo_IndexController ...
1
vote
1answer
18 views
Not able to Redirect to another page in magento in my custome module
I have create module for testing and try to call redme action from url. and all config all complete and all is work good but. in my redme action magento not redirect to another page
<?php
class ...
-3
votes
0answers
14 views
ZF2 Album tutorial using stored procedures
Please also suggest which namespace to use. I am new to zend and MVC.
module.php
public function getServiceConfig()
{
// what code here?
}
**Album\Model\Album.php**
{
//what code here?
}
...
0
votes
1answer
13 views
issue in validation a form a in zend
I am using zend form and try to validate a client side validation. My code is like:
$this->addElement('text', 'email', array(
'label' => 'Email:',
'required' => true,
'class' ...