ReflectionMethod::export
(PHP 5)
ReflectionMethod::export — Export a reflection method.
Beschreibung
public static string ReflectionMethod::export
( string
$class
, string $name
[, bool $return = false
] )Exports a ReflectionMethod.
Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Parameter-Liste
-
class -
The class name.
-
name -
The name of the method.
-
return -
Wird dies auf
TRUEgesetzt, so wird der Export zurückgegeben anstelle ihn auszugeben. Wird dies aufFALSEgesetzt (der Standardwert), wird das Gegenteil passieren.
Rückgabewerte
Falls der Parameter
return auf TRUE gesetzt ist,
so wird der Export als ein String
zurückgegeben, andernfalls wird NULL zurückgegeben.
Siehe auch
- ReflectionMethod::__construct() - Constructs a ReflectionMethod
- ReflectionMethod::__toString() - Returns the string representation of the Reflection method object.