Hi Stéphane,
I don't understand what you mean.
To clarify:
I would like to put the business logic in the model. The business logic
states in my case that no Client object can be without a User object.
Following this reasoning, I added a postInsert() method in the Client
object, that creates a
Hello group,
how can I check in a model class if the class is used from the
doctrine:data-load task instead from the normal application?
Example model Model
class Model extends BaseModel
{
public function postInsert($event)
{
if (not in symfony doctrine:data-load){
//do some wild things that
Also remember that you need to set the details of the user you will be using to
connect on the database server to accept external connections otherwise you
will not be able to connect.
- Original Message -
From: DEEPAK BHATIA toreachdee...@gmail.com
To: symfony-users@googlegroups.com
What is the backend_all.log ?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For
i can help with translation to russian.
i'm not professional translator, but hope that my translation will be
bit better then automatic translation by google :)
On 3 дек, 22:12, tyler tyler.gr...@gmail.com wrote:
Who wants?
I can translate, need more people :)
Can't find other topic on this.
Doc !
2009/12/4 poussain julien.stoeff...@gadz.org
Hi all,
In the tutorial the third step is called Upgrade symfony to 1.3 and
i do not know how to do this... I tried to copy the package in lib/
vendor/symfony, i tried the pear upgrade... command but it didn't
work (i changed the
Thanks to all
On Fri, Dec 4, 2009 at 1:40 PM, Gareth McCumskey gmccums...@gmail.comwrote:
Also remember that you need to set the details of the user you will be
using to connect on the database server to accept external connections
otherwise you will not be able to connect.
- Original
actually nothing :)
It should be : backend_dev.log or backend_prod.log or other ...
It might be generated with that name by your filters.yml ...
alecs
On Fri, Dec 4, 2009 at 10:46 AM, julien.levass...@gmail.com
julien.levass...@gmail.com wrote:
What is the backend_all.log ?
--
You received
Hi all,
I have an error, when running lime unit tests with ./symfony test:unit
One of my testfiles returns status 255 and thus failes.
However, if I run the test only for the file (like ./symfony test:unit
MyClass), all tests are made successfully and it look like everything
went fine.
I
Hi,
I would like to uncheck the value on the widget Checkbox.
I tested this on my class form but nothing:
public function configure()
{
if ($this-isNew())
{
$this-widgetSchema['is_disabled'] = new
sfWidgetFormInputCheckbox(array('value_attribute_value' = ''));
}
}
thanks a lot, I'll test it right away :)
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
Hi, i solved merging the collections (Doctrine merge() method):
public static function getAmigos($id)
{
$q1 = Doctrine_Query::create()
-from('Usuario u')
-leftJoin('u.AmigoUsuario a ON u.id = a.user2')
-where(a.user1 = ?, $id)
-andWhere(a.estado LIKE ?, 1)
Hi,
I'm relatively new to Symfony as well (I use Doctrine), and have wondered
the same thing.
During development, whenever I modify the schema I find myself dropping the
database, rebuilding the models, rebuilding the SQL, inserting the SQL, and
then inserting my fixtures.
Is there a better way
in fact it should have only one position in the attribute 'Translation'.
Now, why is it being created with two positions? I was just embeds culture
'en'.
On Fri, Dec 4, 2009 at 11:06 AM, Raphael raphox.ara...@gmail.com wrote:
Hi,
when Im using 'pt' as default culture for user session and set
run the test from php directly : php path_to_/yourTest.php
On 4 déc. 2009, at 12:21, Christopher Schnell wrote:
Hi all,
I have an error, when running lime unit tests with ./symfony test:unit
One of my testfiles returns status 255 and thus failes.
However, if I run the test only for the
I have identified that the constructor of DoctrineRecord assigns the default
culture of the object. so it automatically creates the position on the
culture of the session.
On Fri, Dec 4, 2009 at 11:19 AM, Raphael raphox.ara...@gmail.com wrote:
in fact it should have only one position in the
James, upgrade your projects to symfony 1.3 and you will be able to
play with migration tool ... which is relative easy to use ...
check the docs for it
On Fri, Dec 4, 2009 at 3:16 PM, James Collins ja...@om4.com.au wrote:
Hi,
I'm relatively new to Symfony as well (I use Doctrine), and have
This gives basis for customizing (yml, overriding templates, themes,
generator inheritance):
http://www.symfony-project.org/book/1_2/14-Generators#Administration
For the rest, there is just you and your head in the engine :D
Not so much doc.
On 3 déc, 11:22, Lukas Kahwe Smith
And that : http://www.symfony-project.org/reference/1_4/en/
By optimizing, i hope you were not speaking of performance ?
On 3 déc, 11:22, Lukas Kahwe Smith m...@pooteeweet.org wrote:
Hi,
I am aware that there are guides for optimizing symfony application in
generally.
However, are there
Hey Thanks it works.
But in fr *_dev.php only !!.
It display a blank page in index.php and /backend/
Any idea?
On Thu, Dec 3, 2009 at 11:43 AM, Daniel Lohse
annismcken...@googlemail.comwrote:
Look here to customize symfony for your directory structure:
Oh! It's works !!
I cleaned the cash and it works.
But in *_dev.php it give some warning:
*Warning*: session_start()
[function.session-starthttp://www.shahrads.com/frontend_dev.php/category/show/id/function.session-start]:
Cannot send session cache limiter - headers already sent (output started at
21 matches
Mail list logo