Questions tagged [zend-framework]
Zend Framework is an open source, object-oriented web application framework implemented in PHP 7.1 and licensed under the New BSD License. Zend Framework was archived on 1 January 2020 simultaneously with migration to and launch of Laminas Project, an official continuation under The Linux Foundation governance.
zend-framework
20,359
questions
0
votes
1
answer
56
views
Facing an issue with PHPstan
I am a novice in PHP and I am working on a legacy project where I am trying to upgrade PHP with Version 8.2 + ubuntu environment. The PHP code is written in ZEND Framework. The legacy code is written ...
1
vote
1
answer
38
views
Issue with laminas-test unit testing
I'm new to Laminas framework and Unit testing and working with a Laminas framework project and I want to start unit testing in that application. I used laminas-test package and followed their tutorial....
-1
votes
1
answer
36
views
Remove Drepracated \Zend_Pdf in magento 2
I have upgraded my magento versio to 2.4.6-p1.
I need to change the Zend with Luminas.
In my file I am having the following line
$this->pdf = new \Zend_Pdf();
How do i change this Zend to support ...
0
votes
0
answers
8
views
Zend Barcode label distance ajustment
I used Zend bacode library to generate barcode images of items in my codeigniter based project. The images are generted correctly as follows :
Generated Sample
Then I want to increse the hieght of the ...
0
votes
0
answers
32
views
cast in doctrine query builder
I need help with this query:
$qb->innerJoin(
AdminAccount::class,
'aa',
Join::WITH,
'gafl.key = :adminAccKeyName and gafl.oldValue = aa.id::varchar'
...
0
votes
0
answers
41
views
Laminas $filter->getValues() in getData() of laminas-form return duplicate of array collection when using Element File
Hi i'm using laminas and i create dynamic forms collection with Element File, and other elements.
After submit, i recreate form using "inizializzaForm" function and it works, but when i try ...
0
votes
0
answers
12
views
I want to translate country name to english in using diffrent country locale Magento2?
I want to translate the country name in the dropdown cart page and checkout page I am using Thailand locale but I want to display the country name in English
I have add csv file in i18n
fore more ...
0
votes
0
answers
76
views
How to get the name of the module, controller and action in Laminas framework?
I’m usign the latest Laminas framework and I want to know how to get the name of the module, controller and action? I need those names in a view helper.
Thanks in advance!
I did it in Zend Framework 1 ...
0
votes
0
answers
30
views
Zend XmlRpc Client gzinflate out of memory on php 7.1
I have a problem with Zend XmlRpc Client. When it recieves response with more than 25MB, then it crushes with Out of memory error Fatal Error: Allowed memory size....
Can someone help me please with ...
0
votes
0
answers
37
views
Zend Barcode image isn't generate correctly in CodeIgniter
I used Zend barcode library to generate barcodes for inventory items in my CodeIgniter project. And used the following code to do that.
public function gen_barcode($product_code = NULL, $bcs = '...
0
votes
0
answers
28
views
How to switch between the read-only and read-write db conenctions in Laminas using DBAL
In Laminas, I would like to switch between the read-only and read-write db connections based on the queries that I want to execute on db.
I have a mysql-innodb-cluster running with 3 instances read-...
-1
votes
0
answers
43
views
Database transaction is not working as expected even rollback is not working
i have written a code on insert into backup and then deletion from main table but i had applied transaction but it is not working even if any error occurs in between transaction then data without any ...
0
votes
0
answers
28
views
Ajax call in Zend 1.12 return 404
I'm using a old version of Zend (Is impossible to upgrade), the version is 1.12.
I have this Jquery function
`var link = '<?php echo $this->route('ajax-getextras', 'bookings', 'default') ?>';
...
1
vote
0
answers
107
views
Zend Framework 1 legacy application redesign
I have inherited a large web application built using Zend Framework 1. Obviously, this is antiquated, and no longer supported. It requires PHP 5, so I can't use any modern plugins/tools. It needs to ...
0
votes
0
answers
21
views
Zend Barcode image do not generate correcly
I used the Zend barcode library to generate barcodes for the items in my Codeigniter project. I used the following codes :
public function book_barcode($product_code = NULL, $bcs = 'code128', $height =...