A parameter is composed of a name, type and value.
Example of usage:
or:
author | |
---|---|
package |
phing.types |
circularReference()
configureTokenReader(\TokenReader $reader)
createParam() : \Parameter
dieOnCircularReference( &$stk, \Project $p)
If one is included, throw a BuildException created by circularReference
This implementation is appropriate only for a DataType that cannot hold other DataTypes as children.
The general contract of this method is that it shouldn't do anything if checked is true and set it to true on exit.
\Project
getCheckedRef( $requiredClass, $dataTypeName)
getClassname() : string
string
getDescription()
getProject() : \Project
getTokens()
access |
public |
---|---|
isReference()
load()
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
noChildrenAllowed()
parsingComplete() : void
setClassname(string $c)
string
setDescription( $desc)
setProject(\Project $project)
setRefid(\Reference $r) : void
Subclasses may need to check whether any other attributes have been set as well or child elements have been created and thus override this method. if they do they must call parent::setRefid()
\Reference
tooManyAttributes()
classname : string
var |
---|
string
parameters : array
var |
---|
array
reader : \TokenReader
tokens :
description :
ref :
checked : boolean
Subclasses are responsible for setting this value to false if we'd need to investigate this condition (usually because a child element has been added that is a subclass of DataType).
var |
---|
boolean
project : \Project