|
Moodle
2.2.1
http://www.collinsharper.com
|
Static Public Member Functions | |
| copy ($object) | |
| isIdentical ($first, $second) | |
| _isIdenticalType ($first, $second) | |
| _isArrayOfIdenticalTypes ($first, $second) | |
| isReference (&$first, &$second) | |
| isA ($object, $class) | |
| setTimeout ($handle, $timeout) | |
Definition at line 13 of file compatibility.php.
| _isArrayOfIdenticalTypes | ( | $ | first, |
| $ | second | ||
| ) | [static] |
Recursive type test for each element of an array.
| mixed | $first | Test subject. |
| mixed | $second | Comparison object. |
Definition at line 87 of file compatibility.php.


| _isIdenticalType | ( | $ | first, |
| $ | second | ||
| ) | [static] |
Recursive type test.
| mixed | $first | Test subject. |
| mixed | $second | Comparison object. |
Definition at line 58 of file compatibility.php.


| copy | ( | $ | object | ) | [static] |
Creates a copy whether in PHP5 or PHP4.
| object | $object | Thing to copy. |
Definition at line 22 of file compatibility.php.

| isA | ( | $ | object, |
| $ | class | ||
| ) | [static] |
Test to see if an object is a member of a class hiearchy.
| object | $object | Object to test. |
| string | $class | Root name of hiearchy. |
Definition at line 137 of file compatibility.php.

| isIdentical | ( | $ | first, |
| $ | second | ||
| ) | [static] |
Identity test. Drops back to equality + types for PHP5 objects as the === operator counts as the stronger reference constraint.
| mixed | $first | Test subject. |
| mixed | $second | Comparison object. |
Definition at line 40 of file compatibility.php.


| isReference | ( | &$ | first, |
| &$ | second | ||
| ) | [static] |
Test for two variables being aliases.
| mixed | $first | Test subject. |
| mixed | $second | Comparison object. |
Definition at line 110 of file compatibility.php.

| setTimeout | ( | $ | handle, |
| $ | timeout | ||
| ) | [static] |
Sets a socket timeout for each chunk.
| resource | $handle | Socket handle. |
| integer | $timeout | Limit in seconds. public |
Definition at line 163 of file compatibility.php.
