The function dbKeys()
lists all keys stored in the Database for Contents. If a subKey is specified, the function returns all keys beginning with this subkey (prefix) and are stored with the current interview language or with the base language of the survey project.
More details and examples can be found in chapters Data Fragments in PHP code and dbSet()
array dbKeys([string subKey])
'A
', you will get “A001”, “A002”, “AA00”, “Alpha”, etc., but not “B001” or “100”.dbKeys()
returns all keys from the database for content.