Hi,
I am running into some trouble with Zend_Cache. The problem is that
the cache gets cleaned every now and then and I dont know why.
Actually the cache should never get cleaned. Here is the code that I
use to initialize the cache:
$frontendOptions = array(
'lifetime' => null,
'a
Am Donnerstag, den 25.10.2007, 11:06 -0700 schrieb redphantm:
> I have also seen discussions regarding
> the model doing the validation. Should the model contain a function
> that
> uses Zend_Validate and returns the resulting object?
My opinion to this topic is a very clear "YES", for two reason
Am Dienstag, den 23.10.2007, 23:23 +0200 schrieb Christer Edvartsen:
> http://www.phpunit.de/
If you like to use tests also for model classes that provide database
operations, you might checkout release 3.2 of phpunit, which contains a
database package. It isnt released yet, but it works nice so f
line is the most important of them, as it sets the flag that
> the dispatch loop looks at in determining whether or not to iterate
> again.
>
> > Am Sonntag, den 21.10.2007, 21:38 -0500 schrieb Ralph Schindler:
> > > Ralf Kramer wrote:
> > >
> &g
Schindler:
> Ralf Kramer wrote:
>
> >
> > public function init()
> > {
> > Zend_Controller_Action_HelperBroker::addPrefix('Quasda_User_Helpers');
> > $helper = Zend_Controller_Action_HelperBroker::getHelper("User_Helper");
> > $
Hi,
I try to write an ActionHelper but I get stuck. The problem is that I
can't access $this->_actionController within my Helper class. It
complains.
Notice: Undefined property: IndexController::$_actionController
in /www/quasda/library/Zend/Controller/Action/HelperBroker.php on line
203
The hel
Am Mittwoch, den 17.10.2007, 23:26 -0700 schrieb Andi Gutmans:
> There's no chance you'll even be close to the ridiculously slow
> performance you are getting now and you may even find that your
> optimizations (with the right config) will give you much less bang for
> the buck.
On my development
Am Donnerstag, den 27.09.2007, 15:25 -0500 schrieb Ralph Schindler:
> Actually, I did find that Rowset->toArray() does indeed return a
> reference to a protected member of the rowset object instead of an
> array. I marked that as a bug for rowset.
>
> http://framework.zend.com/issues/browse/ZF-18
I deleted one line accidentally.
$user = $this->User->find( $user_id );
$user = $user->current();
$this->getRequest()->setParams($user->toArray());
Best regards
/Ralf
Hi,
I'd like to inject the results of a DB operation to as params to the
request. This happens within my controller.
$user = $this->User->find( $user_id );
$this->getRequest()->setParams($user->toArray());
Now I'd like to gain access to this array within a view helper by:
$value = $this->reques
Hi,
I tried to customize the message of Zend_Validate_EmailAddress, it works quite
well, but I cant translate the messages that are added by
Zend_Validate_Hostname in my $validators array.
Sample:
$validators = array(
'user_email' => array(
'EmailAddress',
'messages' => arr
> It would be nice to have a "Best practises" page on the Wiki and also a
> basic but powerful "skeleton" demo capable of handling large web
> applications.
> I feel the Zend Framework would benefit from a such 'one-stop-shop' for new
> developers who would like to use it as their framework of ch
Thanks a lot to all for the comprehensive information in this issue -and
for your patience ;)
> The Zend_Layout methodology has been decided to be used in ZF 1.1 so I
> can point you to the soon-to-be-official approach offered by Ralph
> Schindler.
This is a clear statement. Thus, I'll use Zend_L
Hi,
as I understood the common process of template rendering it works in
this manner:
The MVC component determines (somehow), based on the route, which view
script is supposed to be rendered. This view script will have such a
structure which renders a valid HTML document:
render('layouts/__heade
Thnx Matthew, the plugin works fine.
Best regards
/Ralf
> If you want to have it dynamically change per-action, the easiest way
> would be to create a plugin that runs a preDispatch(); it would look
> something like this:
>
> class OverrideErrorModule extends Zend_Controller_Plugin_Abstract
now that I can change the default forward to
ErrorController::errorAction() by calling
Zend_Controller_Plugin_ErrorHandler::setErrorHandlerModule()
but this alone wont help. How can I assign the ErrorHandler dynamically
accordingly to the currently routed module? What is best practice in
this case. Any help and hints are welcome.
Best regards
/Ralf Kramer
16 matches
Mail list logo