problem: generateModelsfromDb + $options
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 |
From: Jens-André Koch <knd.v...@gmail.com>
Date: Thu, 15 May 2008 08:34:57 -0700 (PDT)
Local: Thurs 15 May 2008 16:34
Subject: problem: generateModelsfromDb + $options
hi,
when using "Doctrine::generateModelsFromDb('myrecords', array(),
$options);" the $options array is not working.
i have checked the method headers:
doctrine.php (rev4361)
#725 public static function generateModelsFromDb($directory, array
$databases = array(), array $options = array())
#727 return Doctrine_Manager::connection()->import-
>importSchema($directory, $databases, $options);
so the $options get passed to importSchema(...) but are not mentioned
in
import/schema.php (rev1838)
#250 public function importSchema($schema, $format = 'yml', $directory
= null, $models = array())
regards, jens
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
From: "Jonathan Wage" <jonw...@gmail.com>
Date: Thu, 15 May 2008 14:02:15 -0500
Local: Thurs 15 May 2008 20:02
Subject: Re: [doctrine-dev] problem: generateModelsfromDb + $options
Can you create a ticket for this? Thanks, Jon On Thu, May 15, 2008 at 10:34 AM, Jens-André Koch <knd.v...@gmail.com> wrote:
> hi, > when using "Doctrine::generateModelsFromDb('myrecords', array(), > $options);" the $options array is not working. > i have checked the method headers: > doctrine.php (rev4361) > #725 public static function generateModelsFromDb($directory, array > $databases = array(), array $options = array()) > #727 return Doctrine_Manager::connection()->import- > >importSchema($directory, $databases, $options); > so the $options get passed to importSchema(...) but are not mentioned > in > import/schema.php (rev1838) > #250 public function importSchema($schema, $format = 'yml', $directory > = null, $models = array()) > regards, jens
-- Jonathan Wage http://www.jwage.com http://www.centresource.com
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
From: Jens-André Koch <knd.v...@gmail.com>
Date: Mon, 19 May 2008 04:44:38 -0700 (PDT)
Local: Mon 19 May 2008 12:44
Subject: Re: problem: generateModelsfromDb + $options
http://trac.phpdoctrine.org/ticket/1053
On 15 Mai, 21:02, "Jonathan Wage" <jonw...@gmail.com> wrote:
> Can you create a ticket for this?
> Thanks, Jon
> On Thu, May 15, 2008 at 10:34 AM, Jens-André Koch <knd.v...@gmail.com>
> wrote:
> > hi,
> > when using "Doctrine::generateModelsFromDb('myrecords', array(),
> > $options);" the $options array is not working.
> > i have checked the method headers:
> > doctrine.php (rev4361)
> > #725 public static function generateModelsFromDb($directory, array
> > $databases = array(), array $options = array())
> > #727 return Doctrine_Manager::connection()->import-
> > >importSchema($directory, $databases, $options);
> > so the $options get passed to importSchema(...) but are not mentioned
> > in
> > import/schema.php (rev1838)
> > #250 public function importSchema($schema, $format = 'yml', $directory
> > = null, $models = array())
> > regards, jens
> --
> Jonathan Wagehttp://www.jwage.comhttp://www.centresource.com
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
From: jwage <jonw...@gmail.com>
Date: Mon, 19 May 2008 08:58:09 -0700 (PDT)
Local: Mon 19 May 2008 16:58
Subject: Re: problem: generateModelsfromDb + $options
After looking in to this.
return Doctrine_Manager::connection()->import-
>importSchema($directory, $databases, $options);
That is calling Doctrine_Import::importSchema() and not
Doctrine_Import_Schema::importSchema(), so the options are getting
passed.
On May 19, 6:44 am, Jens-André Koch <knd.v...@gmail.com> wrote:
> http://trac.phpdoctrine.org/ticket/1053
> On 15 Mai, 21:02, "Jonathan Wage" <jonw...@gmail.com> wrote:
> > Can you create a ticket for this?
> > Thanks, Jon
> > On Thu, May 15, 2008 at 10:34 AM, Jens-André Koch <knd.v...@gmail.com>
> > wrote:
> > > hi,
> > > when using "Doctrine::generateModelsFromDb('myrecords', array(),
> > > $options);" the $options array is not working.
> > > i have checked the method headers:
> > > doctrine.php (rev4361)
> > > #725 public static function generateModelsFromDb($directory, array
> > > $databases = array(), array $options = array())
> > > #727 return Doctrine_Manager::connection()->import-
> > > >importSchema($directory, $databases, $options);
> > > so the $options get passed to importSchema(...) but are not mentioned
> > > in
> > > import/schema.php (rev1838)
> > > #250 public function importSchema($schema, $format = 'yml', $directory
> > > = null, $models = array())
> > > regards, jens
> > --
> > Jonathan Wagehttp://www.jwage.comhttp://www.centresource.com
You must Sign in before you can post messages.
You do not have the permission required to post.
|
|
|