lib/serverdensity/Api/Tags.php
public function find($name)
    {
        $tags = $this->all();

        $found = array();
        foreach ($tags as $tag){
            if ($tag['name'] === $name){
                $found = $tag;
                break;
            }
        }
        return $found;
    }
public function find($name)
    {
        $tags = $this->all();

        $found = array();
        foreach ($tags as $tag){
            if ($tag['name'] === $name){
                $found = $tag;
                break;
            }
        }
        return $found;
    }
public function find ( $ name ) { $ tags = $ this -> all ( ) ; $ found = array ( ) ; foreach ( $ tags as $ tag ) { if ( $ tag [ 'name' ] === $ name ) { $ found = $ tag ; break ; } } return $ found ; }
Find a tag by name
@param    string $name of the tag
@return   an array of the tag in question or an empty array if not found
Find a tag by name