boolean compare(
object statement
&$compare_with)
|
|
Compares two statements and returns integer less than, equal to, or greater than zero.
Can be used for writing sorting function for models or with the PHP function usort().
Parameters:
boolean equals(
object statement
$that)
|
|
Checks if two statements are equal.
Two statements are considered to be equal if they have the same subject, predicate and object. A statement can only be equal to another statement object.
Parameters: