[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/ -> IntrospectionHelper.php (sommaire)

(pas de description)

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

Définit 1 class

IntrospectionHelper:: (12 méthodes):
  getHelper()
  __construct()
  setAttribute()
  addText()
  createElement()
  storeElement()
  supportsCharacters()
  getAttributes()
  getNestedElements()
  getElementName()
  getPropertyName()
  warn()


Classe: IntrospectionHelper  - X-Ref

Helper class that collects the methods that a task or nested element
holds to set attributes, create nested elements or hold PCDATA
elements.

<ul>
<li><strong>SMART-UP INLINE DOCS</strong></li>
<li><strong>POLISH-UP THIS CLASS</strong></li>
</ul>

getHelper($class)   X-Ref
Factory method for helper objects.

param: string $class The class to create a Helper for

__construct($class)   X-Ref
This function constructs a new introspection helper for a specific class.

This method loads all methods for the specified class and categorizes them
as setters, creators, slot listeners, etc.  This way, the setAttribue() doesn't
need to perform any introspection -- either the requested attribute setter/creator
exists or it does not & a BuildException is thrown.

param: string $bean The classname for this IH.

setAttribute(Project $project, $element, $attributeName, &$value)   X-Ref
Pas de description

addText(Project $project, $element, $text)   X-Ref
Pas de description

createElement(Project $project, $element, $elementName)   X-Ref
Creates a named nested element.

Valid creators can be in the form createFoo() or addFoo(Bar).
return: object Returns the nested element.

storeElement($project, $element, $child, $elementName = null)   X-Ref
Creates a named nested element.

return: void

supportsCharacters()   X-Ref
Pas de description

getAttributes()   X-Ref
Pas de description

getNestedElements()   X-Ref
Pas de description

getElementName(Project $project, $element)   X-Ref
Get the the name for an element.
When possible the full classnam (phing.tasks.system.PropertyTask) will
be returned.  If not available (loaded in taskdefs or typedefs) then the
XML element name will be returned.

param: Project $project
param: object $element The Task or type element.
return: string Fully qualified class name of element when possible.

getPropertyName($methodName, $prefix)   X-Ref
Pas de description

warn($msg)   X-Ref
Prints warning message to screen if -debug was used.




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