Lines Matching refs:tag

42 	var $tag;  variable in XML
57 $this->tag = new Tag();
60 if(strpos($argument, $this->tag->tagEndOpen) > 0 || strpos($argument, $this->tag->tagClose) > 0)
65 $this->tag->setTagName($tags[0]);
69 $this->tag->setTagName($argument);
89 $newBranch->tag = $xml->tag;
139 $tagPath = $this->tag->getTagName();
141 if($this->tag->getTagName() == $tags[0]) {
146 if(($tagName == "" || $this->nodes[$arrKeys[$index]]->tag->getTagName() == $tagName) &&
147 ($attrName == "" || $this->nodes[$arrKeys[$index]]->tag->attributeExists($attrName)) &&
148 …($attrValue == "" || $this->nodes[$arrKeys[$index]]->tag->getTagAttribute($attrName) == $attrValue…
158 if($this->nodes[$arrKeys[$index]]->tag->getTagName() == $tags[1]) {
182 $tagPath = $this->tag->getTagName();
184 if($this->tag->getTagName() == $tags[0]) {
197 if($this->nodes[$arrKeys[$index]]->tag->getTagName() == $tags[1]) {
221 $tagPath = $this->tag->getTagName();
224 if($this->tag->getTagName() == $tags[0]) {
226 if($this->tag->attributeExists($attributeName))
227 $attributeValue = $this->tag->getTagAttribute($attributeName);
232 if($node->tag->getTagName() == $tags[1]) {
250 $tagPath = $this->tag->getTagName();
253 if($this->tag->getTagName() == $tags[0]) {
259 if($node->tag->getTagName() == $tags[1]) {
275 return($this->tag->getTagName());
311 $this->tag->setTagFormat($this->tag->FORMAT_INDENT, $indent);
316 $this->tag->tagContent .= $node->getXMLString($newIndent);
320 $this->tag->tagContent .= $node->getValue();
326 $this->tag->setTagFormatEndTag(true);
327 $xmlString = $this->tag->getTagString();
328 $this->tag->setTagContent("");
371 $tagResult = $this->tag->setTagFromString($parseString);
374 $this->tag->setTagContent("");
385 $parseString = $this->tag->getTagContent();
396 $branch->tag->setTagContent("");
451 …if(($tagName == "" || $referencedBranches[$i]->nodes[$arrKeys[$index]]->tag->getTagName() == $tagN…
452 …($attrName == "" || $referencedBranches[$i]->nodes[$arrKeys[$index]]->tag->attributeExists($attrNa…
453 …($attrValue == "" || $referencedBranches[$i]->nodes[$arrKeys[$index]]->tag->getTagAttribute($attrN…
470 function setBranchTag($branchId, $tag) { argument
472 …if(strtolower(get_class($this->nodes[$branchId])) == "xmlbranch" && strtolower(get_class($tag)) ==…
473 $this->nodes[$branchId]->setTag($tag);
485 function setTag($tag) { argument
487 if(strtolower(get_class($tag)) == "tag")
488 $this->tag = $tag;
504 $tagPath = $this->tag->getTagName();
507 if($this->tag->getTagName() == $tags[0]) {
509 $this->tag->setAttribute($attributeName, $attributeValue);
517 if($node->tag->getTagName() == $tags[1]) {
541 $tagPath = $this->tag->getTagName();
544 if($this->tag->getTagName() == $tags[0]) {
557 if($node->tag->getTagName() == $tags[1]) {