C# 클래스 Pchp.Library.Objects

파일 보기 프로젝트 열기: iolevel/peachpie

공개 메소드들

메소드 설명
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