__call()
__construct()
filterTags()
getDocBlock()
getLongDescription()
getNode()
getShortDescription()
getTags()
getTagsByName()
inherit()
setNodes()
filterSubpackageInheritance()
getDirectElementsByTagName()
inheritLongDescription()
inheritShortDescription()
inheritTags()
shouldInheritLongDescription()
shouldInheritShortDescription()
$inherited_tags
$node
$nodes
Wrapper class around a DOMElement containing a DocBlock definition.
This class provides accessors for a DOMElement that contains a DocBlock definition and methods to filter and inherit DocBlocks.
| category | phpDocumentor |
|---|---|
| package | Transformer |
| subpackage | Behaviour |
| author | Mike van Riel |
| license | MIT |
| link | http://phpdoc.org |
__call(string $name, \mixed[] $arguments) : mixed
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::__call() |
|---|
stringMethod name.
\mixed[]Array containing the method arguments.
mixed__construct(DOMElement $node, array $nodes)
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::__construct() |
|---|
\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Class[]&$nodes Associative array containing all class/interface type nodes.
filterTags(string $name) : void
stringName of the tag type to remove.
getDocBlock() : \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlock
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::getDocBlock() |
|---|
getLongDescription() : \DOMElement | false
getNode() : \DOMElement
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::getNode() |
|---|
getShortDescription() : \DOMElement | false
getTagsByName(string $name) : \DOMElement[]
inherit(\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlock $parent) : void
\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlockParent nodeblock to inherit.
setNodes(\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Class[] $nodes)
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::setNodes() |
|---|
\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Class[]&$nodes Associative array containing all class/interface type nodes.
filterSubpackageInheritance(phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlock $parent, array $tags) : void
\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlockParent Docblock to check against.
\string[]&$tags Array of inheritable tags to filter.
getDirectElementsByTagName(\DOMElement | \InheritClass $node, string $element_name) : \DOMElement[]
getElementsByTagName returns all DOMElements with the given tag name regardless where in the DOM subtree they are. This method checks whether the parent node matches the given node and thus determines whether it is a direct child.
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::getDirectElementsByTagName() |
|---|
stringName of the element to find.
inheritLongDescription(phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlock $parent) : void
\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlockparent docblock whose long description to inherit.
inheritShortDescription(phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlock $parent) : void
\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlockNode to inherit the short description from.
inheritTags(phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlock $parent, array $tags) : void
\phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_DocBlockParent node to inherit tags from.
\string[]List of inheritable tags.
shouldInheritLongDescription(\DOMElement | false $super_desc) : bool
boolshouldInheritShortDescription(\DOMElement | false $super_desc) : bool
bool$node : \DOMElement
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::$$node |
|---|
$nodes : \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Class[]
| inherited_from | \phpDocumentor_Plugin_Core_Transformer_Behaviour_Inherit_Node_Abstract::$$nodes |
|---|