Google Groups Home
Help | Sign in
problem: generateModelsfromDb + $options
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
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
Jens-André Koch  
View profile
 More options 15 May, 16:34
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Wage  
View profile
 More options 15 May, 20:02
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:

--
Jonathan Wage
http://www.jwage.com
http://www.centresource.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jens-André Koch  
View profile
 More options 19 May, 12:44
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jwage  
View profile
 More options 19 May, 16:58
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google