# Class TagRuleContainer

Class TagRuleContainer

  ObjRuleContainer uses PathableName, XmlConvertible
  TagRuleContainer

Located at container-classes/TagRuleContainer.php

Methods summary
`public` | # `__construct( mixed $owner )`
`public` | # `removeAllTags( )`
`public` | # `removeTag( `Tag` $tag, mixed $rewriteXML = TRUE )`
`public` | # `API_removeTag( `Tag` $tag, mixed $rewriteXML = TRUE )`
`public` | # `merge( `TagRuleContainer` $container, mixed $exclusionFilter = null )`
`public boolean` | # `hasTag( `Tag`|string $tag, boolean $caseSensitive = TRUE )` #### Parameters $tag ``Tag`|string` can be Tag object or tag name (string). this is case sensitive $caseSensitive `boolean` #### Returns `boolean`
`public boolean` | # `hasTagRegex( `Tag`|string $regex )` #### Parameters $regex ``Tag`|string` can be Tag object or tag name (string). this is case sensitive #### Returns `boolean`
`public boolean` | # `addTag( string|`Tag` $Obj, boolean $rewriteXML = TRUE )` add a Tag to this container add a Tag to this container #### Parameters $Obj `string|`Tag`` $rewriteXML `boolean` #### Returns `boolean`
`public boolean` | # `API_addTag( `Tag`|String $Obj, boolean|true $rewriteXML = TRUE )` #### Parameters $Obj ``Tag`|String` $Obj $rewriteXML `boolean|true` $rewriteXML #### Returns `boolean`
`public &` | # `getXPath( )`
`public `Tag[]`` | # `tags( )` returns a copy of current Tag array returns a copy of current Tag array #### Returns ``Tag[]``
`public` | # `rewriteXML( )`
`public` | # `copy( `TagRuleContainer` $other )`

Methods inherited from ObjRuleContainer
`API_replaceReferencedObject(), __destruct(), count(), display(), displayMembersDiff(), equals(), equals_fasterHash(), generateFastHashComp(), getAll(), getFastHashComp(), getItemAtPosition(), getMembersDiff(), has(), hasObjectRegex(), name(), referencedObjectRenamed(), remove(), removeAll(), replaceReferencedObject(), setName(), toString_inline()`

Methods used from PathableName
`(), (), ()`

Methods used from XmlConvertible
`(), (), (), (), ()`

Properties summary
`public null|`TagStore`` | $parentCentralStore | `null` | #

Properties inherited from ObjRuleContainer
`$name, $o, $owner`

Properties used from XmlConvertible
`$xmlroot`

Magic properties summary
`public `Rule`` | $owner | #

Magic properties inherited from ObjRuleContainer
`$fasthashcomp`

Magic properties used from PathableName
`$name`