public static function get($id, $returnfields = 'id, name, rawname, tagcollid', $strictness = IGNORE_MISSING) {
        global $DB;
        $record = $DB->get_record('tag', array('id' => $id), $returnfields, $strictness);
        if ($record) {
            return new static($record);
        }
        return false;
    }
public static function get($id, $returnfields = 'id, name, rawname, tagcollid', $strictness = IGNORE_MISSING) {
        global $DB;
        $record = $DB->get_record('tag', array('id' => $id), $returnfields, $strictness);
        if ($record) {
            return new static($record);
        }
        return false;
    }
public static function get ( $ id , $ returnfields = 'id, name, rawname, tagcollid' , $ strictness = IGNORE_MISSING ) { global $ DB ; $ record = $ DB -> get_record ( 'tag' , array ( 'id' => $ id ) , $ returnfields , $ strictness ) ; if ( $ record ) { return new static ( $ record ) ; } return false ; }
Simple function to just return a single tag object by its id

@param    int    $id
@param    string $returnfields which fields do we want returned from table {tag}.
Default value is 'id,name,rawname,tagcollid',
specify '*' to include all fields.
@param int $strictness IGNORE_MISSING means compatible mode, false returned if record not found, debug message if more found;
IGNORE_MULTIPLE means return first, ignore multiple records found(not recommended);
MUST_EXIST means throw exception if no record or multiple records found
@return   core_tag_tag|false  tag object
Simple function to just return a single tag object by its id