[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/ -> prado-cli.php (sommaire)

Prado command line developer tools.

Author: Wei Zhuo
Copyright: Copyright © 2006 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: prado-cli.php 1430 2006-09-19 22:34:28Z wei $
Poids: 512 lignes (13 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 6 classes

PradoShellApplication:: (2 méthodes):
  run()
  __shell_print_var()

PradoCommandLineInterpreter:: (9 méthodes):
  addActionClass()
  getInstance()
  run()
  printHelp()
  createDirectory()
  createFile()
  isValidAction()
  renderHelp()
  initializePradoApplication()

PradoCommandLineCreateProject:: (5 méthodes):
  performAction()
  createNewPradoProject()
  renderIndexFile()
  renderHtaccessFile()
  renderDefaultPage()

PradoCommandLineCreateTests:: (4 méthodes):
  performAction()
  createTestFixtures()
  renderUnitTestFixture()
  renderFunctionalTestFixture()

PradoCommandLinePhpShell:: (1 méthode):
  performAction()

PradoCommandLineUnitTest:: (8 méthodes):
  performAction()
  initializeTestRunner()
  runUnitTests()
  getAppDir()
  getTestDir()
  getUnitTestCases()
  addTests()
  hasMatch()


Classe: PradoShellApplication  - X-Ref

run()   X-Ref
Pas de description

__shell_print_var($shell,$var)   X-Ref
Pas de description

Classe: PradoCommandLineInterpreter  - X-Ref

PradoCommandLineInterpreter Class

Command line interface, configures the action classes and dispatches the command actions.

addActionClass($class)   X-Ref

param: string action class name

getInstance()   X-Ref

return: PradoCommandLineInterpreter static instance

run($args)   X-Ref
Dispatch the command line actions.

param: array command line arguments

printHelp()   X-Ref
Print command line help, default action.


createDirectory($dir, $mask)   X-Ref
Execute the action.

param: array command line parameters
return: boolean true if action was handled

createFile($filename, $content)   X-Ref
Pas de description

isValidAction($args)   X-Ref
Pas de description

renderHelp()   X-Ref
Pas de description

initializePradoApplication($directory)   X-Ref
Pas de description

Classe: PradoCommandLineCreateProject  - X-Ref

Create a Prado project skeleton, including directories and files.

performAction($args)   X-Ref
Pas de description

createNewPradoProject($dir)   X-Ref
Functions to create new prado project.


renderIndexFile()   X-Ref
Pas de description

renderHtaccessFile()   X-Ref
Pas de description

renderDefaultPage()   X-Ref
Pas de description

Classe: PradoCommandLineCreateTests  - X-Ref

Creates test fixtures for a Prado application.

performAction($args)   X-Ref
Pas de description

createTestFixtures($dir)   X-Ref
Pas de description

renderUnitTestFixture()   X-Ref
Pas de description

renderFunctionalTestFixture()   X-Ref
Pas de description

Classe: PradoCommandLinePhpShell  - X-Ref

Creates and run a Prado application in a PHP Shell.

performAction($args)   X-Ref
Pas de description

Classe: PradoCommandLineUnitTest  - X-Ref

Runs unit test cases.

performAction($args)   X-Ref
Pas de description

initializeTestRunner()   X-Ref
Pas de description

runUnitTests($dir, $args)   X-Ref
Pas de description

getAppDir($dir)   X-Ref
Pas de description

getTestDir($dir)   X-Ref
Pas de description

getUnitTestCases($dir,$args)   X-Ref
Pas de description

addTests($test,$path,$recursive=true,$match=null)   X-Ref
Pas de description

hasMatch($match,$entry)   X-Ref
Pas de description



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7