I would probably use a simple module to always modify the route match
controller and action. If the module is enabled, the route will be set as
controller / action unless there is no route match in which case it will
404. I started out with some example code then formalised slightly as I
think I
I need some direction as to where I need to go about injecting some code to
do some dynamic editing of controller return data.
Situation:
- Our REST application has the ability to overload the return response
data to flip between JSON and XML. While we use Accept headers, we default
to XML
Hey Matt,
I've been trying everything and I can't seem to get Zend\Sql\Ddl to make the
column unsigned and auto increment. I know I'm probably missing something, I
just don't know what at this point.
Any help would be greatly appreciated
Jimmy
--
View this message in context:
Hi everyone,
as I know in zf2 you can extend the Event class or create a custom event
class and then you can trigger this custom event.
I am thinking about creating custom event classes for each module where I
would add constants for the event names the module can trigger. My problem
with this
Currently, this is not possible. Although, it would be fairly easy to
implement. The relative classes are:
The Integer type:
https://github.com/zendframework/zf2/blob/master/library/Zend/Db/Sql/Ddl/Column/Integer.php
The Column base type:
It would be cool to see it implemented. What would be the process for this?
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Making-a-Integer-table-row-unsigned-with-Zend-Db-Sql-Ddl-Column-Integer-tp4660679p4660709.html
Sent from the Zend Framework
Hello, fellow developers,
this is likely a question that's framework-agnostic: how do you approach
translation of complex views?
I'm not so sure which is a bigger nightmare:
* struggling with tons of translation message ids and translations
* duplicating view scripts, splicing in the
On Thu, Aug 8, 2013 at 9:54 AM, Philip G guice...@gmail.com wrote:
Situation:
- Our REST application has the ability to overload the return response
data to flip between JSON and XML. While we use Accept headers, we default
to XML return (even if viewed in browser).
I need to capture the
I'd say instead of struggling with tons of message ids just use text itself
as translation ID and problem solved. Then use tools like gettext/PoEdit
to scan though the project source files.
You really don't want to create different view scripts for different
languages -- unless it really necessary