public static function get_record($filters = array()) {
        global $DB;

        $record = $DB->get_record(static::TABLE, $filters);
        return $record ? new static(0, $record) : false;
    }
public static function get_record($filters = array()) {
        global $DB;

        $record = $DB->get_record(static::TABLE, $filters);
        return $record ? new static(0, $record) : false;
    }
public static function get_record ( $ filters = array ( ) ) { global $ DB ; $ record = $ DB -> get_record ( static :: TABLE , $ filters ) ; return $ record ? new static ( 0 , $ record ) : false ; }
Load a single record.

@param array $filters Filters to apply.
@return false|\core\persistent
Load a single record .