server sends HTML response to requestor.
>
> On Thu, Nov 11, 2010 at 12:05 PM, Gareth McCumskey
> wrote:
>
>
>
>
>
> > Once the web server sends the response ... the script ends.
>
> > On Thu, Nov 11, 2010 at 11:25 AM, torok84 wrote:
>
> >> Thanks
ts exit, apache closes connection.
>
> > Regards,
> > Maciej Aleksandrowicz
>
> > 2010/11/10 torok84 :
> > > I am developping a site in wichi I use PHP Lucene for full text
> > > indexing. Lucene is not really a lighting. It would be nice to do alla
>
I am developping a site in wichi I use PHP Lucene for full text
indexing. Lucene is not really a lighting. It would be nice to do alla
the computing necessary to render the page, then send the page to the
user and then execute the indexing. So i thought there are many
situation in wich wold be cool
, guiguiboy wrote:
> Be careful, LEAST is not SQL standard, this means if you change you
> database server, you may (will) encounter problems.
> Why not doing it with PHP ? You have the min function :http://fr.php.net/min
>
> On 29 sep, 15:05, torok84 wrote:
>
>
>
>
Workaround:
$conn = Doctrine::getConnectionByTableName('User');
$conn->exec('UPDATE user SET points = LEAST(200,300)');
Any chance this can be done using Doctrine?
Paolo
On Sep 29, 2:56 pm, torok84 wrote:
> [ In the real application I would have something lik
[ In the real application I would have something like
LEAST(user.points, 300) ]
Hello, I do not understand very well how the set() function works
I tryed the following code:
$q = Doctrine_Query::create()
->update('User u')
->set('u.points', 'LEAST(200,100)');
echo $q->getSqlQuery();
But th
I have this code in a doctrine form
$this->widgetSchema['priority'] = new sfWidgetFormChoice(
array(
'choices' => $pri_choices
));
var_dump($pri_choices);
echo max(array_keys($pri_choices));
$this->widgetSchema['priority']-
>setDefault( max(array_key
> ishttp://eatmymonkeydust.com/2009/08/symfony-forms-flexible-widgets-bas...
>
> Regards,
> Christopher.
>
> > -Ursprüngliche Nachricht-----
> > Von: symfony-users@googlegroups.com [mailto:symfony-
> > us...@googlegroups.com] Im Auftrag von torok84
> > Gesendet: Mittwo
Hi,
I have a form to select some search options. I have a field that I
wanto to show only if the user is logged in. I want to do something
like this:
if(!$this->getUser()->hasAttribute('user'))
unset($this->form->widgetSchema['mine']);
that doesn't work because widgetSchema is protected. M
('@homepage') it's much more
> efficient.
>
> gabriel
>
> On Aug 26, 5:48 pm, torok84 wrote:
>
> > Hi,
>
> > I noticed that
> > $this->redirect("/") in actions or url_for("/") in views when called
> > from an u
Hi,
I noticed that
$this->redirect("/") in actions or url_for("/") in views when called
from an url like http://host/frontend_dev.php/something throw away the
frontend_dev.php and generate url like http://host/. While
url_for("module/action") will generate an url containing
frontend_dev.php. url_
Hi,
I have a model that has a numeric field that indicates a status it can
be 1 Opened 2 Closed (It might change in the future). I want to output
the status on the view, transalting numbers to strings. I will create
an array
a[1] = "Open";
a[2] = "Closed";
I will access the array a in the view to
gt; Hi,
>
> > Clear your cache.
>
> > I would presume that is the problem.
>
> > The dev environment is using the new route as it clears the cache on
> > every request.
> > But your production environment is using the cache as it hasn't been
> > cleared
Hi,
I'm quite new to Symfony. I have something strange with routing.
My apps/frontend/config/routing.yaml contain this
homepage:
url: /
param: { module: content, action: index }
default_index:
url: /:module
param: { action: index }
default:
url: /:module/:action/*
If i open ht
14 matches
Mail list logo