get_record_by_id

Db-related functions

Summary

get_record_by_id(string $recordVar, int $recordId)

Get a record by its ID.

Parameters:
  • $recordVar (string) –
  • $recordId (int) –
Returns:

Omeka_Record_AbstractRecord|null

Usage

Examples

See Also