models/BaseDoc.php
public function removeTag($name)
    {
        foreach ($this->tags as $i => $tag) {
            if (strtolower($tag->getName()) == $name) {
                unset($this->tags[$i]);
            }
        }
    }
public function removeTag($name)
    {
        foreach ($this->tags as $i => $tag) {
            if (strtolower($tag->getName()) == $name) {
                unset($this->tags[$i]);
            }
        }
    }
public function removeTag ( $ name ) { foreach ( $ this -> tags as $ i => $ tag ) { if ( strtolower ( $ tag -> getName ( ) ) == $ name ) { unset ( $ this -> tags [ $ i ] ) ; } } }
Removes tag of a given name
@param string $name
Removes tag of a given name