Console_Application
[ class tree: Console_Application ] [ index: Console_Application ] [ all elements ]

Class: CreateTablesApplication

Source Location: /console/CreateTablesApplication.php

Class Overview

Console_Application_Abstract
   |
   --AbstractDbApplication
      |
      --CreateTablesApplication

Creates the two neccessary tables FileMeta and KeyWord.


Author(s):

Copyright:

  • Copyright (c) 2009 Sven Strittmatter

Constants

Methods


Inherited Variables

Inherited Methods

Class: AbstractDbApplication

AbstractDbApplication::onError()
If verbosity is given (by option -v) exception messages, errormessgaes or given variables are echoed to the stdout.
AbstractDbApplication::setUp()
Bootstraps a Zend_Application bject with the config from APPLICATION_PATH . '/configs/application.ini'. Loads the database resource and database name.
AbstractDbApplication::signalInt()
Aborts the script if ctrl + c is pressed.
AbstractDbApplication::tearDown()
Resets the database resource object to null.

Class Details

[line 54]
Creates the two neccessary tables FileMeta and KeyWord.

Beware: Existing tables will be dropped.




Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter
see:  AbstractDbApplication
abstract:  
uses:  Console_Exception
uses:  MediaSearch_ConfigLoader


[ Top ]


Class Methods


method getHelpMessage [line 82]

void getHelpMessage( [ $author = 'Sven Strittmatter'], [ $email = 'ich@weltraumschaf.de'])



Tags:

see:  AbstractDbApplication::getHelpMessage
access:  public


Parameters:

   $author  
   $email  

[ Top ]

method run [line 63]

void run( )

Loads the configs for FileMeta and KeyWord and executes them.

The configs are located from application/configs/sql/table.




Tags:

access:  protected


[ Top ]


Class Constants

TRACE_LELVEL =  5

[line 55]


[ Top ]



Documentation generated on Mon, 17 Aug 2009 14:52:01 +0200 by phpDocumentor 1.4.2