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

Class: ScannerApplication

Source Location: /console/ScannerApplication.php

Class Overview

Console_Application_Abstract
   |
   --AbstractDbApplication
      |
      --ScannerApplication

Scanns the given directory recursivle and gathers file meta informations.


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 66]
Scanns the given directory recursivle and gathers file meta informations.



Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter
see:  AbstractDbApplication
abstract:  
uses:  MediaSearch_Model_FileMeta
uses:  MediaSearch_File_Visitor
uses:  MediaSearch_File_TreeFactory
uses:  MediaSearch_Log


[ Top ]


Class Methods


method findConsoleParameters [line 126]

bool findConsoleParameters( )

Listen to option -d with a following string which is the scanned directory. Also listen to -c to clear the file meta table beforre saving.



Tags:

see:  Console_Application_Abstract::findConsoleParameters()
throws:  Console_Exception_MissingParameter
access:  protected


[ Top ]

method getHelpMessage [line 244]

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



Tags:

see:  Console_Application_Abstract::getHelpMessage()
access:  public


Parameters:

   $author  
   $email  

[ Top ]

method getUsage [line 237]

void getUsage( [ $options = null])



Tags:

see:  Console_Application_Abstract::getUsage()
access:  public


Parameters:

   $options  

[ Top ]

method run [line 99]

void run( )

Generates a file tree and fisits it after that to gather meta information.



Tags:

see:  Console_Application_Abstract::run()
access:  protected


[ Top ]

method tearDown [line 109]

void tearDown( )



Tags:

see:  AbstractDbApplication::getUsage()
access:  protected


Overrides AbstractDbApplication::tearDown() (Resets the database resource object to null.)

[ Top ]


Class Constants

TRACE_LELVEL =  7

[line 67]


[ Top ]



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