C# 클래스 Pchp.Core.PhpAlias

상속: IPhpConvertible
파일 보기 프로젝트 열기: iolevel/peachpie 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Value PhpValue

공개 메소드들

메소드 설명
AddRef ( ) : void
EnsureArray ( ) : IPhpArray

Ensures the underlaying value is an array and gets its instance. Cannot be null.

EnsureObject ( ) : object

Ensures the underlaying value is an object and gets its instance. Cannot be null.

PhpAlias ( PhpValue value, int refcount = 1 ) : System

Creates an aliased value.

ReleaseRef ( ) : void
ToBoolean ( ) : bool
ToClass ( ) : object
ToDouble ( ) : double
ToLong ( ) : long
ToNumber ( PhpNumber &number ) : Convert.NumberInfo
ToString ( Context ctx ) : string
ToStringOrThrow ( Context ctx ) : string

메소드 상세

AddRef() 공개 메소드

public AddRef ( ) : void
리턴 void

EnsureArray() 공개 메소드

Ensures the underlaying value is an array and gets its instance. Cannot be null.
public EnsureArray ( ) : IPhpArray
리턴 IPhpArray

EnsureObject() 공개 메소드

Ensures the underlaying value is an object and gets its instance. Cannot be null.
public EnsureObject ( ) : object
리턴 object

PhpAlias() 공개 메소드

Creates an aliased value.
public PhpAlias ( PhpValue value, int refcount = 1 ) : System
value PhpValue
refcount int
리턴 System

ReleaseRef() 공개 메소드

public ReleaseRef ( ) : void
리턴 void

ToBoolean() 공개 메소드

public ToBoolean ( ) : bool
리턴 bool

ToClass() 공개 메소드

public ToClass ( ) : object
리턴 object

ToDouble() 공개 메소드

public ToDouble ( ) : double
리턴 double

ToLong() 공개 메소드

public ToLong ( ) : long
리턴 long

ToNumber() 공개 메소드

public ToNumber ( PhpNumber &number ) : Convert.NumberInfo
number PhpNumber
리턴 Convert.NumberInfo

ToString() 공개 메소드

public ToString ( Context ctx ) : string
ctx Context
리턴 string

ToStringOrThrow() 공개 메소드

public ToStringOrThrow ( Context ctx ) : string
ctx Context
리턴 string

프로퍼티 상세

Value 공개적으로 프로퍼티

Gets or sets the underlaying value.
The field is not wrapped into a property, some internals need to access the raw field.
public PhpValue,Pchp.Core Value
리턴 PhpValue