Innoweb\DMS\Controller\LegacyDMSDocumentController::getDocumentIdFromSlug
Get a document's ID from a "friendly" URL slug containing a numeric ID and slugged title
Signature
protected function getDocumentIdFromSlug(string
$slug )
Parameters
$slug
— string
Returns
- int
Errors/Exceptions
-
Exception
- if an invalid format is provided