static method clearCapturedPhpErrors [line 754]
static void clearCapturedPhpErrors(
)
|
|
Clears the captured errors without affecting the starting/stopping of the capture.
Tags:
static method currentTimeMillis [line 1215]
static void currentTimeMillis(
)
|
|
Tags:
static method fire [line 269]
static void fire(
array
$args)
|
|
Command line entry point. This method kicks off the building of a project object and executes a build using either a given target or the default target.
Tags:
Parameters:
static method getCapturedPhpErrors [line 762]
static array getCapturedPhpErrors(
)
|
|
Gets any PHP errors that were captured to buffer.
Tags:
static method getCurrentProject [line 675]
static Project getCurrentProject(
)
|
|
Gets the current Project.
Tags:
static method getDefinedProperty [line 1162]
static string getDefinedProperty(
string
$name)
|
|
This gets a property that was set via command line or otherwise passed into Phing.
"Defined" in this case means "externally defined". The reason this method exists is to provide a public means of accessing commandline properties for (e.g.) logger or listener scripts. E.g. to specify which logfile to use, PearLogger needs to be able to access the pear.log.name property.
Tags:
Parameters:
static method getErrorStream [line 235]
Gets the stream to use for error output.
Tags:
static method getMsgOutputLevel [line 257]
static int getMsgOutputLevel(
)
|
|
Making output level a static property so that this property can be accessed by other parts of the system, enabling us to display more information -- e.g. backtraces -- for "debug" level.
Tags:
static method getOutputStream [line 219]
Gets the stream to use for standard (non-error) output.
Tags:
static method getPhingVersion [line 804]
static string getPhingVersion(
)
|
|
Gets the current Phing version based on VERSION.TXT file.
Tags:
static method getProperties [line 1204]
static void &getProperties(
)
|
|
Retuns reference to all properties
Tags:
static method getProperty [line 1185]
static string getProperty(
$propName, string
$paramName)
|
|
Returns property value for a System property.
System properties are "global" properties like application.startdir, and user.dir. Many of these correspond to similar properties in Java or Ant.
Tags:
Parameters:
static method getResourcePath [line 1025]
static string getResourcePath(
$path)
|
|
Looks on include path for specified file.
Tags:
Parameters:
static method getTimer [line 1292]
Returns reference to Timer object.
Tags:
static method halt [line 1325]
static method handlePhpError [line 696]
static void handlePhpError(
$level,
$message,
$file,
$line)
|
|
Error handler for PHP errors encountered during the build.
This uses the logging for the currently configured project.
Tags:
Parameters:
static method import [line 944]
static string import(
string
$dotPath, [mixed
$classpath = null])
|
|
Import a dot-path notation class path.
Tags:
Parameters:
static method log [line 685]
static void log(
string
$message, [int
$priority = Project::MSG_INFO])
|
|
A static convenience method to send a log to the current (last-setup) Project.
If there is no currently-configured Project, then this will do nothing.
Tags:
Parameters:
static method printDescription [line 829]
static void printDescription(
Project
$project)
|
|
Print the project description, if any
Tags:
Parameters:
static method printMessage [line 184]
static void printMessage(
$t)
|
|
Prints the message of the Exception if it's not null.
Tags:
Parameters:
static method printUsage [line 767]
static void printUsage(
)
|
|
Prints the usage of how to use this class
Tags:
static method printVersion [line 795]
static void printVersion(
)
|
|
Prints the current Phing version.
Tags:
static method setCurrentProject [line 660]
static void setCurrentProject(
Project
$p)
|
|
Sets the current Project
Tags:
Parameters:
static method setDefinedProperty [line 1172]
static string setDefinedProperty(
string
$name,
$value)
|
|
This sets a property that was set via command line or otherwise passed into Phing.
Tags:
Parameters:
static method setErrorStream [line 227]
static void setErrorStream(
$stream)
|
|
Sets the stream to use for error output.
Tags:
Parameters:
static method setOutputStream [line 211]
static void setOutputStream(
$stream)
|
|
Sets the stream to use for standard (non-error) output.
Tags:
Parameters:
static method setProperty [line 1208]
static void setProperty(
$propName,
$propValue)
|
|
Tags:
Parameters:
static method shutdown [line 1333]
Performs any shutdown routines, such as stopping timers.
Tags:
static method start [line 153]
static void start(
array
$args, [
$additionalUserProperties = null])
|
|
Entry point allowing for more options from other front ends.
This method encapsulates the complete build lifecycle.
Tags:
Parameters:
static method startPhpErrorCapture [line 738]
static void startPhpErrorCapture(
)
|
|
Begins capturing PHP errors to a buffer.
While errors are being captured, they are not logged.
Tags:
static method startup [line 1306]
Start up Phing.
Sets up the Phing environment but does not initiate the build process.
Tags:
static method stopPhpErrorCapture [line 747]
static void stopPhpErrorCapture(
)
|
|
Stops capturing PHP errors to a buffer.
The errors will once again be logged after calling this method.
Tags:
static method unsetCurrentProject [line 667]
static void unsetCurrentProject(
)
|
|
Unsets the current Project
Tags:
static method __import [line 978]
static void __import(
string
$path, [mixed
$classpath = null])
|
|
Import a PHP file
Tags:
Parameters:
method execute [line 278]
void execute(
array
$args)
|
|
Setup/initialize Phing environment from commandline args.
Tags:
Parameters:
method printTargets [line 836]
void printTargets(
$project)
|
|
Print out a list of all targets in the current buildfile
Parameters:
method runBuild [line 483]