Translations of this page:


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.

More details and examples can be found in chapters Data Fragments in PHP code and dbSet()

array dbKeys([string subKey])

  • subKey (optional)
    If a subkey is specified then only keys beginning with this subkey are listed. For example, if the subkey is 'A', you will get “A001”, “A002”, “AA00”, “Alpha”, etc., but not “B001” or “100”.
en/create/functions/dbkeys.txt · Last modified: 24.01.2015 14:12 by alexander.ritter
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki