There is a file header DocBlock which is used to give an overview of what is contained in the file.
Es gibt einen Dateiheader DocBlock, der einen Überblick über die Inhalte der Datei gibt.
The file starts like a regular PHP file with a DocBlock and then the code for an ABSPATH check so that no one can access the file directly.
Die Datei startet wie eine normale PHP-Datei mit einem DocBlock und dem Code für eine ABSPATH-Prüfung, sodass niemand direkt auf die Datei zugreifen kann.
Note that each method has a docblock with entries indicating each parameter and its type, as well as an entry for the return value.
Es ist zu beachten das jede Methode einen Docblock mit Einträgen besitzt die jeden Parameter und seinen Typ beschreiben, sowie einen Eintrag für den Rückgabewert.
Every function, including object methods, must have a docblock that contains at a minimum
Jede Funktion, auch Objekt Methoden, müssen einen Docblock haben welcher mindestens folgendes enthält
hasTag($name): determine if the docblock has the given annotation tag.
hasTag($name): Erkennt ob der DocBlock das angegebene Annotation Tag besitzt.
Every file that contains PHP code must have a docblock at the top of the file that contains these phpDocumentor tags at a minimum
Jede Datei die PHP Code enthält muss einen Docblock am Beginn der Datei besitzen welcher mindestens diese phpDocumentor Tags enthält
getEndLine(): get last line of docblock within the defining file.
getEndLine(): Gibt die letzte Zeile des DocBlocks in der definierten Datei zurück.
Every class must have a docblock that contains these phpDocumentor tags at a minimum
Jede Klasse muss einen Docblock haben welche mindestens diese phpDocumentor Tags enthält
getContents(): returns the full contents of the docblock.
getContents(): Gibt den kompletten Inhalt des DocBlocks zurück.
getShortDescription(): get the short, one-line description (usually the first line of the docblock).
getShortDescription(): Gibt die kurze, ein-zeilige Beschreibung zurück (normalerweise die erste Zeile des DocBlocks).
Every function, including object methods, must have a docblock that contains at a minimum: Description, Arguments, Return Values.
getLongDescription(): get the long description from the docblock.
getLongDescription(): Gibt die lange Beschreibung des DocBlocks zurück.
All class files must contain a "file-level" docblock at the top of each file and a "class-level" docblock immediately above each class.
Alle Klassen Dateien müssen einen "file-level" Docblock am Beginn jeder Datei und einen "class-level" Docblock direkt überhalb jeder Klasse enthalten.