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

Class: Console_Loader

Source Location: /library/Console/Loader.php

Class Overview


Class for running a Console_Application_Abstract-Script.


Author(s):

Copyright:

  • Copyright (c) 2009 Sven Strittmatter

Methods



Class Details

[line 37]
Class for running a Console_Application_Abstract-Script.



Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter
final:  
usedby:  Console_Application
uses:  Console_Exception


[ Top ]


Class Methods


static method isFileNameValid [line 101]

static bool isFileNameValid( string $filename)

Checks if a filename is valid.



Tags:

access:  public


Parameters:

string   $filename  

[ Top ]

static method isReadable [line 83]

static bool isReadable( string $filename)

Checks if a file is readable.



Tags:

access:  public


Parameters:

string   $filename  

[ Top ]

static method loadClass [line 49]

static void loadClass( string $name)

Loads a class depending on the class name.

All _ in the classname are replaced with DIRECTORY_SEPARATOR.




Tags:

throws:  Console_Exception If the file doesnt contain the class/interface
throws:  Console_Exception If the generated filename is not valid
throws:  Console_Exception If the file is not readable
access:  public


Parameters:

string   $name  

[ Top ]


Documentation generated on Mon, 17 Aug 2009 15:52:44 +0200 by phpDocumentor 1.4.2