Property | Type | Description | |
---|---|---|---|
_intrinsicEnumerator | OrderedDictionary.Enumerator |
Method | Description | |
---|---|---|
AddValue ( |
||
Compare ( |
||
DeepCopy ( ) : |
Creates copy of this instance using shared underlaying hashtable.
|
|
EnsureItemAlias ( IntStringKey key ) : |
||
EnsureItemArray ( IntStringKey key ) : IPhpArray | ||
EnsureItemObject ( IntStringKey key ) : object | ||
GetEnumerator ( ) : OrderedDictionary.Enumerator |
Gets PHP enumerator for this array.
|
|
GetForeachEnumerator ( bool aliasedValues ) : IPhpEnumerator |
Creates an enumerator used in foreach statement.
|
|
GetForeachEnumerator ( bool aliasedValues, |
Creates an enumerator used in foreach statement. Used for internal purposes only! |
|
GetItemValue ( IntStringKey key ) : |
||
Keyed ( ) : |
Creates an instance of PhpArray filled by given entries. If the length of keysValues is odd then its last item is added without a key. |
|
New ( ) : |
Creates an instance of PhpArray filled by given values.
|
|
New ( |
Creates an instance of PhpArray filled by given values.
|
|
PhpArray ( ) : System |
Creates a new instance of PhpArray with specified capacities for integer and string keys respectively.
|
|
PhpArray ( |
Creates a new instance of PhpArray initialized with all values from System.Array.
|
|
PhpArray ( |
Creates a new instance of PhpArray initialized with a portion of System.Array.
|
|
PhpArray ( IEnumerable data ) : System |
Creates a new instance of PhpArray filled by data from an enumerator.
|
|
PhpArray ( |
Copy constructor. Creates PhpArray that shares internal data table with another PhpArray.
|
|
PhpArray ( int capacity ) : System |
Creates a new instance of PhpArray with specified capacities for integer and string keys respectively.
|
|
PhpArray ( int intCapacity, int stringCapacity ) : System |
Creates a new instance of PhpArray with specified capacities for integer and string keys respectively.
|
|
RemoveKey ( IntStringKey key ) : void | ||
RestartIntrinsicEnumerator ( ) : void |
Restarts intrinsic enumerator - moves it to the first item. If the intrinsic enumerator has never been used on this instance nothing happens. |
|
SetItemAlias ( IntStringKey key, |
||
SetItemValue ( IntStringKey key, |
||
ToBoolean ( ) : bool | ||
ToClass ( ) : object | ||
ToDouble ( ) : double | ||
ToLong ( ) : long | ||
ToNumber ( PhpNumber &number ) : Convert.NumberInfo | ||
ToString ( |
||
ToStringOrThrow ( |
public EnsureItemAlias ( IntStringKey key ) : |
||
key | IntStringKey | |
return |
public EnsureItemArray ( IntStringKey key ) : IPhpArray | ||
key | IntStringKey | |
return | IPhpArray |
public EnsureItemObject ( IntStringKey key ) : object | ||
key | IntStringKey | |
return | object |
public GetEnumerator ( ) : OrderedDictionary.Enumerator | ||
return | OrderedDictionary.Enumerator |
public GetForeachEnumerator ( bool aliasedValues ) : IPhpEnumerator | ||
aliasedValues | bool | Whether the values returned by enumerator are assigned by reference. |
return | IPhpEnumerator |
public GetForeachEnumerator ( bool aliasedValues, |
||
aliasedValues | bool | Whether the values returned by enumerator are assigned by reference. |
caller | Type of the caller (ignored). | |
return | IPhpEnumerator |
public GetItemValue ( IntStringKey key ) : |
||
key | IntStringKey | |
return |
public static New ( |
||
value | Value to be added to the new instance. /// Keys will correspond order of values in the array. | |
return |
public PhpArray ( |
||
values | ||
return | System |
public PhpArray ( |
||
values | ||
index | int | |
length | int | |
return | System |
public PhpArray ( IEnumerable data ) : System | ||
data | IEnumerable | The enumerator containing values added to the new instance. |
return | System |
public PhpArray ( |
||
array | Table to be shared. | |
preserveMaxInt | bool | True to copy the |
return | System |
public PhpArray ( int intCapacity, int stringCapacity ) : System | ||
intCapacity | int | |
stringCapacity | int | |
return | System |
public SetItemAlias ( IntStringKey key, |
||
key | IntStringKey | |
alias | ||
return | void |
public SetItemValue ( IntStringKey key, |
||
key | IntStringKey | |
value | ||
return | void |
public ToNumber ( PhpNumber &number ) : Convert.NumberInfo | ||
number | PhpNumber | |
return | Convert.NumberInfo |
public ToStringOrThrow ( |
||
ctx | ||
return | string |