Doctrine 2: Use targetEntity FQCN if entityNamespace is differ (all relations).

Signed-off-by: Toha <tohenk@yahoo.com>
Use FQCN entity name for %entity% var (dot separated).

Signed-off-by: Toha <tohenk@yahoo.com>
Better lifecycleCallbacks handling.

Usage:
{d:lifecycleCallbacks}
prePersist: doSomethingOnPrePersist
preUpdate: doSomethingOnPreUpdate
{/d:lifecycleCallbacks}

Signed-off-by: Toha <tohenk@yahoo.com>
Pluralizes relationships.

This allows more natural sounding names, as Doctrine takes care of the
reverse pluralisation when building entities from the metadata. For
example, if we have a one to many relationship between two tables
"blog" and "post" (where one blog has many posts), this patch causes
doctrine to generate the methods getPosts(), addPost(), removePost().
Previously the first method would have been getPost().

Additional support has been added to do the same for many to many
relationships.
Prevent Doctrine2 YAML from writing out M2M tables.

Amends writeTable() so that it does not write out M2M tables.  This
problem appears to affect most writeTable functions and a better
solution would be push the logic of whether to write (i.e. external
tables and m2m tables) should be in the base table, leaving the actual
writing to the children.  If there is interest, I am happy to provide a
fix along those lines.
Merge pull request #76 from elyobo/pluralise_one_to_many

Pluralizes relationships.
Merge pull request #78 from elyobo/doctrine2_yaml_do_not_write_m2m_tables

Prevent Doctrine2 YAML from writing out M2M tables.
Automatic repository names in Doctrine2 Yaml.

Merged from pull request #79.
Mark tables with extra columns as not many to many.

Merged from pull request #77.

Signed-off-by: Toha <tohenk@yahoo.com>
Update copyright year.

Signed-off-by: Toha <tohenk@yahoo.com>
Change the way of formatter initialization.

Signed-off-by: Toha <tohenk@yahoo.com>
Make Doctrine2 Annotation to be able to extended.

Signed-off-by: Toha <tohenk@yahoo.com>
Make --list-exporter command of CLI to expand to the longest formatter name.

Signed-off-by: Toha <tohenk@yahoo.com>
Add Doctrine2 ZF2InputFilterAnnotation formatter.

Merged from pull request #80 by @WitteStier.
Use base formatter for all Sencha Extjs.

Signed-off-by: Toha <tohenk@yahoo.com>
Sencha Extjs3: use JSObject.

Signed-off-by: Toha <tohenk@yahoo.com>
Update Extjs data type mapping.

Signed-off-by: Toha <tohenk@yahoo.com>
Move functions to base class.

Signed-off-by: Toha <tohenk@yahoo.com>
Change JSObject multiline to true as default.

Signed-off-by: Toha <tohenk@yahoo.com>
Add Sencha ExtJS4 formatter.

Merged from pull request #80 by @WitteStier.