[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/parser/ -> ProjectConfigurator.php (sommaire)

(pas de description)

Poids: 246 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ProjectConfigurator:: (9 méthodes):
  configureProject()
  __construct()
  parse()
  configure()
  addText()
  storeChild()
  replaceProperties()
  replacePropertyCallback()
  configureId()


Classe: ProjectConfigurator  - X-Ref

The datatype handler class.

This class handles the occurance of registered datatype tags like
FileSet

configureProject(Project $project, PhingFile $buildFile)   X-Ref
Static call to ProjectConfigurator. Use this to configure a
project. Do not use the new operator.

param: object  the Project instance this configurator should use
param: object  the buildfile object the parser should use

__construct(Project $project, PhingFile $buildFile)   X-Ref
Constructs a new ProjectConfigurator object
This constructor is private. Use a static call to
<code>configureProject</code> to configure a project.

param: object  the Project instance this configurator should use
param: object  the buildfile object the parser should use

parse()   X-Ref
Creates the ExpatParser, sets root handler and kick off parsing
process.


configure($target, $attrs, Project $project)   X-Ref
Configures an element and resolves eventually given properties.

param: object  the element to configure
param: array   the element's attributes
param: object  the project this element belongs to

addText($project, $target, $text = null)   X-Ref
Configures the #CDATA of an element.

param: object  the project this element belongs to
param: object  the element to configure
param: string  the element's #CDATA

storeChild($project, $parent, $child, $tag)   X-Ref
Stores a configured child element into its parent object

param: object  the project this element belongs to
param: object  the parent element
param: object  the child element
param: string  the XML tagname

replaceProperties(Project $project, $value, $keys)   X-Ref
Replace ${} style constructions in the given value with the
string value of the corresponding data types. This method is
static.

param: object  the project that should be used for property look-ups
param: string  the string to be scanned for property references
param: array   proeprty keys
return: string  the replaced string or <code>null</code> if the string

replacePropertyCallback($matches)   X-Ref
Private [static] function for use by preg_replace_callback to replace a single param.
This method makes use of a static variable to hold the


configureId(&$target, $attr)   X-Ref
Scan Attributes for the id attribute and maybe add a reference to
project.

param: object the element's object
param: array  the element's attributes



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7