You need to use the use option for the closure as the variable your
trying to use isn't in the correct scope.
See example 3 on this page: http://php.net/manual/en/functions.anonymous.php
Your code will look like this:
'query_builder' = function($repository) use ($state_id) {
return
Just use $value-getRawValue()
---
nat...@nathan.gs : http://nathan.gs : http://twitter.com/nathan_gs
On Mon, Feb 8, 2010 at 8:49 PM, Darren884 darren...@gmail.com wrote:
It seems I was able to pass the second argument ESC_RAW, but this
butchers my ability to read credentials either way. Is
In your apps/APPLICATION/config/settings.yml
change your
dev:
.settings:
web_debug: true
to false.
that's all.
Best regards,
Nathan
--
nat...@nathan.gs : http://nathan.gs : http://twitter.com/nathan_gs
On Thu, Jan 14, 2010 at 9:17 AM, Sid Bachtiar sid.bacht...@gmail.comwrote:
Hi
First of all read the upgrade guide for 1.1 to 1.2 because there were some
serious changes in the form and widget system. After this read the 1.2 to
1.3 upgrade guide.
Upgrading from 1.3 to 1.4 is not necessary (both are the same code, except
in 1.4 all the depreciated stuff is gone).
Nathan
$form-setWidget('pc_id', new sfWidgetFormInputHidden());
On Fri, Jan 8, 2010 at 2:45 PM, Stéphane stephane.er...@gmail.com wrote:
Oops, there are hidden fields too, look this way.
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre
sudo svn co http://svn.symfony-project.com/branches/1.3/
sudo ln -s /usr/local/share/symfony/1.3/data/bin/symfony
/usr/local/bin/sf1.3
that's all.
---
nathan @ http://twitter.com/nathan_gs
nathan.gshttp://nathan.gs/?utm_source=mailing-listutm_medium=emailutm_campaign=blog
On Thu, Jan 7, 2010 at 12
? If users share the same set of credentials no
additional overhead is needed.
best regards,
Nathan
---
nathan @ http://twitter.com/nathan_gs nathan.gs
http://nathan.gs/?utm_source=mailing-listutm_medium=emailutm_campaign=blog
On Thu, Jan 7, 2010 at 7:56 PM, Kevin kevinb...@gmail.com wrote
I would only give write permissions by the user running php (most of the
times www-data) to cache, log and the upload directory. All else should be
read only and preferable have another user, like the deployer (nathan in my
case).
Also it's considered very bad practice to give a file/directory
This is actually a php limit. Not a Symfony one. There's not much you can do
besides increasing your php max_post_size value. (but I wouldn't do this).
Nathan
--
nathan @ http://twitter.com/nathan_gs nathan.gs
http://nathan.gs/?utm_source=mailing-listutm_medium=emailutm_campaign=blog
On Thu
in the session, I wouldn't. I would just after
creating a pc do a redirect to the Eth form with the pc id as a request
parameter (get/post).
Nathan
On Fri, Jan 8, 2010 at 1:02 AM, Mikael mikael.kermorg...@gmail.com wrote:
Hi,
My data model has a Pc table with a 1-n relation with an Eth table
better tested than the doctrine mssql dbal.
For how to actually start: Just like any other Symfony project. Except in
databases.yml put in a suitable dsn. (google for pdo dsn mssql if you really
can't find anything).
Best regards,
Nathan
On Mon, Jan 4, 2010 at 2:11 PM, Vikos make.webp
-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.
Best regards,
Nathan
--
You received
On Mon, Jan 4, 2010 at 5:02 PM, Eno symb...@gmail.com wrote:
On Mon, 4 Jan 2010, chrisyue wrote:
When I finished the jobeet tutorial, I found the application load some
files which shouldn't be loaded as I never used them at all (swifter
mailer for example, 11 files of it were loaded each
This is a very bad idea...! Never run a program with more permissions than
it needs to have.
You could maybe create a bash wrapper that calls sudo symfony? And put this
in the right path?
Nathan
On Mon, Dec 28, 2009 at 3:14 PM, Alexandru-Emil Lupu
gang.al...@gmail.comwrote:
A stupid ideea
Hello Javi,
Rename your symfony script in the project dir to symfony.real
paste this to a new file called symfony
#!/bin/bash
sudo symfony.real $@
that's about it.
Warning this is not tested! This will not work in windows!
regards,
Nathan
On Mon, Dec 28, 2009 at 9:41 PM, tirengarfio
Is symfony actually installed on this new server or is your project frozen?
-
Nathan Rzepecki
http://www.lionslair.net.au
Frank He wrote:
I also suspect the new server configuration does not support symfony's
minimum requirement, such as PDO, php 5 or whatever.
On Fri
You can not use JQuery and Prototype at the same time. All the
library's use one component of JS and they can not both use it at the
same time. Unfortunately you can only use one at a time
-
Nathan Rzepecki
http://www.lionslair.net.au
Sid Bachtiar wrote:
Great tip!
I
I use propel not doctrine
-
Nathan Rzepecki
http://www.lionslair.net.au
Schorsch wrote:
Hey,
do you have an non empty schema.yml file? Doctrine stores it's
schema.yml in the config/doctrine folder. If the doctrine folder
doesn't exist, you have to create manually
It is this line here that does it.
$entry-setServerId($this-getObject()-getId());
within
public function saveEmbeddedForms($con = null, $forms = null)
Because by the time that is called the main object is then saved.
-
Nathan Rzepecki
http://www.lionslair.net.au
No problem.
-
Nathan Rzepecki
http://www.lionslair.net.au
maestro wrote:
Oppps, this is embarrassing. I was missing the autoIncrement: true, in
my message schema.yml.
Nathan thanx for your time..
On Mar 16, 10:53 pm, maestro mustafa...@gmail.com wrote
On Jun 7, 12:53 pm, Richtermeister [EMAIL PROTECTED] wrote:
You can create a view.yml file in the appropriate module config
directory, and in there make the following declaration:
youractionSuccess:
has_layout: off
replacing youraction by whatever you named your action.
That should
Aha! I ran into this this week too, now I know why. Thanks, all.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To
22 matches
Mail list logo