C# Класс Pchp.Library.Objects

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

class_exists() публичный статический Метод

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.
Результат bool

interface_exists() публичный статический Метод

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.
Результат bool