Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision |
en:create:functions:dbkeys [14.01.2015 22:21] – created alexander.ritter | en:create:functions:dbkeys [24.01.2015 14:12] (current) – alexander.ritter |
---|
====== dbKeys() ====== | ====== dbKeys() ====== |
| |
Die Funktion ''dbKeys()'' listet alle Schlüssel auf, die in der **Datenbank für Inhalte** hinterlegt wurden. Sofern ein //Teilschlüssel// angegeben wird, liefert die Funktion alle Schlüssel, die mit diesem Teilschlüssel beginnen. | 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. |
| |
Details und Beispiele finden Sie im Kapitel [[:de:create:databank|Datenfragmente im PHP-Code verwenden]] und bei ''[[:de:create:functions:dbset|dbSet()]]''. | More details and examples can be found in chapters [[:en:create:databank|Data Fragments in PHP code]] and ''[[:en:create:functions:dbset|dbSet()]]'' |
| |
''array **dbKeys**([string //Teilschlüssel//])'' | ''array **dbKeys**([string //subKey//])'' |
| |
* //Teilschlüssel// (optional)\\ Wird ein Teilschlüssel angegeben, so werden nur Schlüssel gelistet, die mit diesem Teilschlüssel beginnen. Lautet der Teilschlüssel z.B. '''A''', so erhalten Sie "A001", "A002", "AA00", "Alpha", etc., __nicht__ aber "B001" oder "100". | * //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". |
| |