Wildkat-YiiExt-DoctrineOrm
[ class tree: Wildkat-YiiExt-DoctrineOrm ] [ index: Wildkat-YiiExt-DoctrineOrm ] [ all elements ]

Class: DoctrineOrmCommand

Source Location: /DoctrineORMCommand.php

Class Overview

CConsoleCommand
   |
   --DoctrineOrmCommand

DoctrineCommand.


Author(s):

Version:

  • Release: ##VERSION##

Methods



Class Details

[line 23]
DoctrineCommand.

This command adds the Doctrine 2 CLI to the list of options in the yiic tool. You must configure protected/config/console.php with the same information as set out in your main.php including the component and Wildkat alias.

This command file should then live in protected/commands




Tags:

author:  Kevin Bradwick <kevin@wildk.at>
version:  Release: ##VERSION##
link:  http://www.wildk.at
license:  New


[ Top ]


Class Methods


method getCli [line 87]

Symfony\component\Console\Application getCli( )

Get the cli object



Tags:

access:  protected


[ Top ]

method getEntityManager [line 76]

Doctrine\ORM\EntityManager getEntityManager( )

Returns the default entity manager



Tags:

access:  protected


[ Top ]

method run [line 30]

null run( )

This gets executed when the command runs



Tags:

access:  public


[ Top ]


Documentation generated on Fri, 13 May 2011 14:16:01 +0100 by phpDocumentor 1.4.3