Hi,
I'm new to learning the Zend Framework, and are having trouble understanding
how one would use the greaterThan validator to check that a
Zend_Form_Element_Date element is greater than another
Zend_Form_Element_Date in the same form.
First I find that greaterThan doesn't know how to compare d
On Tuesday 30 June 2009 05:53:27 aSecondWill wrote:
> Thanks! I got that working after a bit of fiddling with spaces etc. It made
> almost no difference to the page load time, even when applied to my extra
> application libraries, Doctrine etc. - its taking 600ms to proccess
> everything.(roughly,
When using gdata routines I am getting a series of warning messages for
include files that don't exist. I don't think they are supposed to
exist but it is the gdata framework testing to see if it does before it
checks a different base class path. Is there any way to turn these
off. I can tur
Hi,
I have two tables, drivers and cars.
Each driver in drivers has his cars in cars.
When I delete a driver, his cars should also be deleted in cars.
I defined two classes:
class Drivers extends Zend_Db_Table_Abstract
{
[...]
protected $_dependentTables = array(
'Cars'
);
}
Thanks! I got that working after a bit of fiddling with spaces etc. It made
almost no difference to the page load time, even when applied to my extra
application libraries, Doctrine etc. - its taking 600ms to proccess
everything.(roughly, varies quite a bit - 1st load of a page a bit slower,
posib
You'll need to delete all the backup versions of the files afterward with
this command, BTW. I don't think BSD sed will permit in-place editing using
stdin.
The complete command is therefore:
% cd path/to/ZendFramework/library
% find . -name '*.php' | grep -v './Loader/Autoloader.php' | \
xargs s
The documentation assumes GNU versions of find and sed, and should probably
note that. The equivalent BSD command (which will of course work on Mac OS
X) is:
% cd path/to/ZendFramework/library
% find . -name '*.php' | grep -v './Loader/Autoloader.php' | \
xargs sed -E -i~ 's/(require_once)/\/\/ \1
The instructions given here:
http://framework.zend.com/manual/en/performance.classloading.html#performance.classloading.striprequires.sed
Don't work in terminal on OSX. Does anyone have an alternative ?
Is it possible to make a production ready version of the framework
available? one with the
2009/6/29 Žilvinas Šaltys :
> Hello,
>
> First sorry if it's not the right place to ask about this. In my
> defense I tried to google about this but couldn't find any relevant
> information.
>
> In PHP it seems perfectly normal to start a session, destroy it, and
> then start it again. You can do i
Hello,
First sorry if it's not the right place to ask about this. In my
defense I tried to google about this but couldn't find any relevant
information.
In PHP it seems perfectly normal to start a session, destroy it, and
then start it again. You can do it as much as you like.
http://php.net/ses
10 matches
Mail list logo