C# Class Pchp.Library.Objects

Afficher le fichier Open project: iolevel/peachpie

Méthodes publiques

Méthode Description
class_exists ( Context ctx, string className, bool autoload = true ) : bool

Tests whether a given class is defined.

interface_exists ( Context ctx, string ifaceName, bool autoload = true ) : bool

Tests whether a given interface is defined.

Method Details

class_exists() public static méthode

Tests whether a given class is defined.
public static class_exists ( Context ctx, string className, bool autoload = true ) : bool
ctx Pchp.Core.Context Current runtime context.
className string The name of the class.
autoload bool Whether to attempt to call __autoload.
Résultat bool

interface_exists() public static méthode

Tests whether a given interface is defined.
public static interface_exists ( Context ctx, string ifaceName, bool autoload = true ) : bool
ctx Pchp.Core.Context Current runtime context.
ifaceName string The name of the interface.
autoload bool Whether to attempt to call __autoload.
Résultat bool