Extending Doctrine_Query

Discussion relating to version 1.3.x and 1.4.x

Extending Doctrine_Query

Postby Daco » Thu Apr 05, 2012 7:14 pm

I wantend to create a complex grouping using doctrine query and I used Snippets:

http://snippets.symfony-project.org/snippet/371


But in creating query :

Code: Select all
$q = myDQ::create()
  ->from('Some s');


It gives me a mistake:

Strict Standards: Declaration of MyDq::create() shuld be compatible with that of Doctrine_Query::create() in URL-ROOT/lib/MyDq.class.php


Thanks for any kind of help
Daco
Junior Member
 
Posts: 2
Joined: Thu Apr 05, 2012 6:48 pm
Location: Padua - Italy

Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 7 guests