Welcome Guest, Not a member yet? Register   Sign In
Classes generated by Doctrine
#1

[eluser]ndovado.com[/eluser]
We are working on a new web application using codeigniter and doctrine.

We already have the database schema on our mysql 5.0.45 database, and we need to create the models classes from this source. Through the doctrine API we achive this goal but we need to know if exist a way to customize the classes generation:

As we can read on the documentation, every model classes must extend the Model class.

Does exist a way to for doctrin for this purpose?
During my tests, I have seen that doctrine generate classes whiteout extend the Model class.

Is this a problem?


Thank you.
#2

[eluser]pistolPete[/eluser]
Did you have a look at those?

- http://ellislab.com/forums/viewthread/98746/
- http://ellislab.com/forums/viewthread/72000/
#3

[eluser]jedd[/eluser]
Never heard of doctrine before. On the front page of their site they proudly declare:

Quote: ... key feature is the option to write database queries in a proprietary object oriented SQL dialect ...

Proprietary language as a key feature? {blink}


EDIT - oh, and they also have a link page (one of which heads back to CI's wiki) for integrating with different MVC frameworks: [url="http://trac.phpdoctrine.org/wiki/integrate"]http://trac.phpdoctrine.org/wiki/integrate[/url]




Theme © iAndrew 2016 - Forum software by © MyBB