Note the difference between "Y" and "y".
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: "milesap"
To:
Sent: Tuesday, April 07, 2009 4:51 AM
Subject: [fw-general] Zend_Date Problems
Hello,
I'm fairly new to Zend
Hello,
I'm fairly new to Zend Framework, so forgive me if this is a really easy
question. I have been looking everywhere for a solution. I am trying to get
the difference between the current date and a persons birthday to see how
old they are.
$date = new Zend_Date();
$date->sub(
Keith,
I've been following that series closely. I'm hoping to do this without
writing a custom decorator for an element as I'd like the option to omit the
the form field this non form element might be related to. For example, if a
user were allowed three attachments per node/form, the actual
What about a callback or viewHelper decorator?
2009/4/6 James Stuart :
> Keith,
>
> I've been following that series closely. I'm hoping to do this without
> writing a custom decorator for an element as I'd like the option to omit the
> the form field this non form element might be related to. Fo
Matthew (and others),
'Twas brillig, and Matthew Weier O'Phinney at 01/04/09 12:11 did gyre
and gimble:
-- fire-eyed-...@hotmail.com wrote
(on Wednesday, 01 April 2009, 10:14 AM +):
Thanks for the response again. I just read in an issue that this is made
intentional behaviour:
http://fra
Keith,
I've been following that series closely. I'm hoping to do this without
writing a custom decorator for an element as I'd like the option to omit the
the form field this non form element might be related to. For example, if a
user were allowed three attachments per node/form, the actual fil
You may want to look at Matthews Zend_Form series on his blog, heres the latest:
http://weierophinney.net/matthew/archives/213-From-the-inside-out-How-to-layer-decorators.html
2009/4/6 James Stuart :
> Hi,
>
> Has anyone ever tried to insert a non form field element into Zend Form?
>
> I have a f
Hi,
Has anyone ever tried to insert a non form field element into Zend Form?
I have a form that includes file uploads and I need to cause the uploaded
files to be listed inside the form after they have been added, much like a
webmail application. I can do that using Javascript by finding the pare
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To actually answer your question, do $this->_forward(); within your
controller.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|_
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://www.rmauger.co.uk/2009/03/why-the-zend-framework-actionstack-is-evil/
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/
-- Marko Korhonen wrote
(on Monday, 06 April 2009, 01:43 AM -0700):
> I have made my model system as:
> Model, Model_DbTable, Model_DbTable_Row etc...
>
> I have always declared by models in controller, but MVC seems
> to "allow" View to command models also?
> I also try to live by the "Fat model
quotes are working fine... thanks
Bart McLeod wrote:
>
> the quotes are indeed required by the ini format AND php 5.3 on *.nix
> (we found out lately), the manual has some examples without quotes...
>
> -Bart
>
-
visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.c
Hi all,
I'm trying to forward a request to a previous made request if the users
login session was expired.
What I have is the following in my UserController::login() if login
succeeded:
hasReferrer() )
{
// Zend_Controller_Request_Abstract $referrer
$referrer = $cmsApplication->getRefer
Fire Eye'd Boy schreef:
Hi all,
I'm trying to save a Zend_Controller_Request_Http in a
Zend_Session_Namespace but it gives me a strict standards warning:
Strict Standards: Creating default object from empty value
Any idea what is going on here?
Cheers
Sorry people, never mind. I figured
Hi all,
I'm trying to save a Zend_Controller_Request_Http in a
Zend_Session_Namespace but it gives me a strict standards warning:
Strict Standards: Creating default object from empty value
Any idea what is going on here?
Cheers
the quotes are indeed required by the ini format AND php 5.3 on *.nix
(we found out lately), the manual has some examples without quotes...
-Bart
Paweł Chuchmała schreef:
application.job = "/usr/local/bin/php
/home/admin/domains/app/jobs/job.php > /dev/null 2> /dev/null &"
Doesn;t work?
On M
application.job = "/usr/local/bin/php
/home/admin/domains/app/jobs/job.php > /dev/null 2> /dev/null &"
Doesn;t work?
On Mon, Apr 6, 2009 at 10:51, PHPScriptor wrote:
>
> Well, I don't think that's going to work. 'Cause I want to use it for a unix
> command.
>
> in my config.ini:
>
> application.
Does there not exist something like unhtmlentities() that you can call
on the value to get rid of &?
-Bart
PHPScriptor schreef:
Well, I don't think that's going to work. 'Cause I want to use it for a unix
command.
in my config.ini:
application.job = /usr/local/bin/php /home/admin/domains/app/
Hey,
I am not sure the config_ini parser allows those kind of characters. Try
using an XML parser or an array one instead and maybe that will work.
Beside you can always overload the config value trough your script somewhere
in the constructor.
Vince.
On Mon, Apr 6, 2009 at 11:51 AM, PHPScriptor
=)
question was in the first post, I quicly just replied to my own post...
Marko
vince. wrote:
>
> Hey,
>
> Was that a question? Cause i didn't quite get what your asking/saying.
>
> Vince.
>
> On Mon, Apr 6, 2009 at 11:43 AM, Marko Korhonen <
> marko.korho...@datafisher.com> wrote:
>
>>
You should be populating the values of the form in your model before passing
it as a completed whole through to the view, then if you have to do any
autocomplete stuff, do it in javascript.
On Mon, Apr 6, 2009 at 4:43 PM, Marko Korhonen <
marko.korho...@datafisher.com> wrote:
>
> Hi,
>
> I have m
Well, I don't think that's going to work. 'Cause I want to use it for a unix
command.
in my config.ini:
application.job = /usr/local/bin/php /home/admin/domains/app/jobs/job.php >
/dev/null 2> /dev/null &
With this command I execute a php job in the background with passthru, so
that I don't hav
Hey,
Was that a question? Cause i didn't quite get what your asking/saying.
Vince.
On Mon, Apr 6, 2009 at 11:43 AM, Marko Korhonen <
marko.korho...@datafisher.com> wrote:
>
> ps. I use Zend_Application and module bootstraps so auto loader finds those
> models nicely =)
>
> Marko
> --
> View thi
ps. I use Zend_Application and module bootstraps so auto loader finds those
models nicely =)
Marko
--
View this message in context:
http://www.nabble.com/MVC---Model-in-View-tp22904523p22904532.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi,
I have made my model system as:
Model, Model_DbTable, Model_DbTable_Row etc...
I have always declared by models in controller, but MVC seems
to "allow" View to command models also?
I also try to live by the "Fat models, thin controllers" rule...
So I made following:
-- Fi
Hey,
Use the & HTML Entity which is &
On Mon, Apr 6, 2009 at 11:18 AM, PHPScriptor wrote:
>
> Hey,
>
> I'm using the Zend_Config_Ini for loading my config file.
>
> $config = new Zend_Config_Ini('etc/config.ini', $environment);
>
> When I add a & somewhere in my config.ini file, I get this error
Hey,
I'm using the Zend_Config_Ini for loading my config file.
$config = new Zend_Config_Ini('etc/config.ini', $environment);
When I add a & somewhere in my config.ini file, I get this error:
fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error
parsing C:\wamp\www\app/et
27 matches
Mail list logo