Hi,
If you enable your ZF application to use short tags is there a
benefit/increase in performance over littering your view scripts with echo
this and echo that?
Cheers,
- Robert
This email has been scanned for all
I haven't heard anything about that yet, however in my opninion it
must _decrease_ performance…
Regards,
Ádám
You are setting your string variable to top in the session namespace
everytime you request that controller, that's probably why.
spaceage wrote:
I should clarify that the string var does get (and persist) the initial
assignment of top, but subsequent changes to the var doesn't
persist--the
Is it possible to validate a string against each date/datetime format?
The validation should stop when a valid format is found.
-- Jan
You should put the My directory at the same level as Zend:
library
Zend
Controller
Form, View, etc.
My
Decorator
Composite.php
your other library classes, e.g. helpers, plugins, forms
-- Mon
On Thu, Dec 18, 2008 at 2:57 PM, vibhor
Hi Guys,
I'm just wondering is there is a good Zend Framework-based methodology
for storing multi-lingual content in a database?
I know that there are several structures for doing this kind of thing,
including tables of strings that include language identifiers and such
like, but these can
We've been inserting all javascript after the entire form, or in the head
using the onDOMReady event provided by YUI.
Seems to work well for most things.
T
On Thu, Dec 18, 2008 at 07:59, Bart McLeod mcl...@spaceweb.nl wrote:
you will need a decorator on your first element, with placement set
I think i would use a date-filter first, that converts the date into a
specific format and then try to validate that specific format. If the filter
is not able to recognize the format, then it won't validate.
Dealing with different kinds of formats is more a responsibility of a filter
than a
Hello, I've recently ran into a problem that's I'm unable to find a
work around for.
Using Zend_HTTP, I'm accessing a site and posting authentication
credentials. Upon success, remote page redirects to a confirm page
with an Ok button. This button utilizes the onClick event to expire
a cookie in
Probably it's not possible since Zend_Http doesn't execute the javascript
content of the page.
Giuliano
Junior Gillespie-2 wrote:
Hello, I've recently ran into a problem that's I'm unable to find a
work around for.
Using Zend_HTTP, I'm accessing a site and posting authentication
Hi,
I making a custom form element which is 3 fields for phone numbers, ie
country code, area code number.
I'm getting tripped up when I want to set options for the element in the
viewHelper. So I want the element to be flexible and be able to set how many
characters each field can hold.
-- Robert Castley robert.cast...@macro4.com wrote
(on Thursday, 18 December 2008, 09:21 AM -):
If you enable your ZF application to use short tags is there a
benefit/increase
in performance over littering your view scripts with echo this and echo that?
They operate exactly the same.
--
-- Joó Ádám cer...@gmail.com wrote
(on Thursday, 18 December 2008, 10:35 AM +0100):
I haven't heard anything about that yet, however in my opninion it
must _decrease_ performance…
Based on...?
PHP compiles ?= into simply echo, so '?php echo' and '?=' will
perform exactly the same.
--
Matthew
You can set cookie values if you use a CookieJar with the request, though.
It wouldn't be an automated solution, and would break if the client code
changes, though.
--
A.J. Brown
Zend Certified PHP Engineer
http://ajbrown.org/blog
Giuliano Riccio wrote:
Probably it's not possible since
Thank you :-)
-Original Message-
From: Matthew Weier O'Phinney [mailto:matt...@zend.com]
Sent: 18 December 2008 14:41
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Short Tags vs. Long Tags performance question
-- Robert Castley robert.cast...@macro4.com wrote (on Thursday, 18
Hi
I'm implementing recaptcha but I would like to change the theme and the
language.
Here is how I create the form element:
$captcha = new Zend_Form_Element_Captcha('challenge', array(
'captcha' = 'ReCaptcha',
'captchaOptions' = array(
I had the same problem. Maybe there is a more elegant way ... however,
this works for me:
$form-getElement('captcha')-getCaptcha()-getService()-setOption('theme',
'clean')-setOption('lang', 'de');
Kind regards
Mike
Markus Hausammann schrieb:
Hi
I'm implementing recaptcha but I would like to
Thanks Mike, if I do that I get:
Call to a member function getCaptcha() on a non-object, I've tried
'challenge' and 'ReCaptcha' instead of 'captcha' but nothing works.
-Ursprüngliche Nachricht-
Von: Mike Rötgers [mailto:m...@roetgers.org]
Gesendet: Donnerstag, 18. Dezember 2008 19:23
stupid me: I tried to get the element before I had assigned it.
Mikes solution works!
-Ursprüngliche Nachricht-
Von: Markus Hausammann [mailto:cont...@markushausammann.ch]
Gesendet: Donnerstag, 18. Dezember 2008 19:44
An: fw-general@lists.zend.com
Betreff: AW: [fw-general] setOptions in
follow up question:
How can I add a custom error message to the Captcha Element?
In order to change the validator message I have to getValidator() but in
this case I didn't define any... so how can I change the message?
Thanks!
-Ursprüngliche Nachricht-
Von: Mike Rötgers
and then again, it only works, if the captcha field is totally empty...
if I enter the wrong words I get : Captcha value is wrong:
incorrect-captcha-sol
and that's what I don't want!
has anyone done that?
-Ursprüngliche Nachricht-
Von: Markus Hausammann
I've added Zend_Cache to my project, but have multiple environments.
I'm using memcache as my backend, but only in one environment. In the
other environment, I don't want caching enabled at all. When I try to
disable caching however, it still tries to instantiate the Memcache
object. I don't
-- Dan Wilson d...@codeality.com wrote
(on Thursday, 18 December 2008, 01:21 PM -0700):
I've added Zend_Cache to my project, but have multiple environments.
I'm using memcache as my backend, but only in one environment. In the
other environment, I don't want caching enabled at all. When I try
Just make sure you don't have any XML processing instructions embedded
anywhere.
Kevin
-Original Message-
From: Matthew Weier O'Phinney [mailto:matt...@zend.com]
Sent: Thursday, December 18, 2008 8:41 AM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Short Tags vs. Long Tags
-- Kevin Schroeder ke...@zend.com wrote
(on Thursday, 18 December 2008, 01:51 PM -0800):
Just make sure you don't have any XML processing instructions embedded
anywhere.
Or, better yet, use one of the various XML extensions to generate your
XML for you. ;)
(Seriously. If you're templating your
Hi all,
I am developing an application. In this application I have a search
facility for students.
The screen has a search button which if preesed shows result in tabular
format.Also if search is successful two buttons download and detail are
displayed. If download button is presses a csv file
Thanks Mon! I'll try it out and see what happens.
-Vibhor
_
From: Mon Zafra [mailto:mon...@gmail.com]
Sent: Thursday, December 18, 2008 4:23 PM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Confused about decorators
You should put the My directory at the same level
27 matches
Mail list logo