Property | Type | Description | |
---|---|---|---|
$buildFile | |||
$buildFileParent | |||
$locator | |||
$project |
Method | Description | |
---|---|---|
__construct ( Project $project, PhingFile $buildFile ) |
Constructs a new ProjectConfigurator object
This constructor is private. Use a static call to
configureProject to configure a project. |
|
addText ( $project, $target, $text = null ) | Configures the #CDATA of an element. | |
configure ( $target, $attrs, Project $project ) | Configures an element and resolves eventually given properties. | |
configureId ( $target, $attr ) | Scan Attributes for the id attribute and maybe add a reference to project. | |
configureProject ( Project $project, PhingFile $buildFile ) | Static call to ProjectConfigurator. Use this to configure a project. Do not use the new operator. | |
replaceProperties ( Project $project, $value, $keys ) : string | Replace ${} style constructions in the given value with the string value of the corresponding data types. This method is static. | |
storeChild ( $project, $parent, $child, $tag ) | Stores a configured child element into its parent object |
Method | Description | |
---|---|---|
parse ( ) | Creates the ExpatParser, sets root handler and kick off parsing process. |
Method | Description | |
---|---|---|
replacePropertyCallback ( $matches ) | Private [static] function for use by preg_replace_callback to replace a single param. |
configureProject
to configure a project. public __construct ( Project $project, PhingFile $buildFile ) | ||
$project | Project | |
$buildFile | PhingFile |
public static addText ( $project, $target, $text = null ) |
public static configure ( $target, $attrs, Project $project ) | ||
$project | Project |
public configureId ( $target, $attr ) |
public static configureProject ( Project $project, PhingFile $buildFile ) | ||
$project | Project | |
$buildFile | PhingFile |
protected parse ( ) |
public static replaceProperties ( Project $project, $value, $keys ) : string | ||
$project | Project | |
return | string | the replaced string or null if the string
itself was null |
public static storeChild ( $project, $parent, $child, $tag ) |