Skip to content

Commit

Permalink
feat: Update extension to send QTI package (#1114)
Browse files Browse the repository at this point in the history
* feat: Update extension to send QTI package
  • Loading branch information
mccar authored Apr 29, 2024
1 parent ab99b06 commit e0b256a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/class.Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,9 @@ public static function toHumanReadablePhpString($value, $indentation = 0)

return (string) $returnValue;
}

public static function getResourceId(string $uri): string
{
return substr($uri, strpos($uri, '#') + 1);
}
}

0 comments on commit e0b256a

Please sign in to comment.