C# Class Pchp.Core.PhpAlias

Inheritance: IPhpConvertible
Afficher le fichier Open project: iolevel/peachpie Class Usage Examples

Méthodes publiques

Свойство Type Description
Value PhpValue

Méthodes publiques

Méthode Description
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

Method Details

AddRef() public méthode

public AddRef ( ) : void
Résultat void

EnsureArray() public méthode

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

EnsureObject() public méthode

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

PhpAlias() public méthode

Creates an aliased value.
public PhpAlias ( PhpValue value, int refcount = 1 ) : System
value PhpValue
refcount int
Résultat System

ReleaseRef() public méthode

public ReleaseRef ( ) : void
Résultat void

ToBoolean() public méthode

public ToBoolean ( ) : bool
Résultat bool

ToClass() public méthode

public ToClass ( ) : object
Résultat object

ToDouble() public méthode

public ToDouble ( ) : double
Résultat double

ToLong() public méthode

public ToLong ( ) : long
Résultat long

ToNumber() public méthode

public ToNumber ( PhpNumber &number ) : Convert.NumberInfo
number PhpNumber
Résultat Convert.NumberInfo

ToString() public méthode

public ToString ( Context ctx ) : string
ctx Context
Résultat string

ToStringOrThrow() public méthode

public ToStringOrThrow ( Context ctx ) : string
ctx Context
Résultat string

Property Details

Value public_oe property

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
Résultat PhpValue