Moodle  2.2.1
http://www.collinsharper.com
collatorlib_property_comparison Class Reference
Inheritance diagram for collatorlib_property_comparison:
Collaboration diagram for collatorlib_property_comparison:

Public Member Functions

 __construct ($property)
 compare ($obja, $objb)

Protected Attributes

 $property

Detailed Description

Definition at line 768 of file textlib.class.php.


Constructor & Destructor Documentation

__construct ( property)
Parameters:
string$property

Definition at line 776 of file textlib.class.php.


Member Function Documentation

compare ( obja,
objb 
)

Returns: 1 if str1 is greater than str2 0 if str1 is equal to str2 -1 if str1 is less than str2

Parameters:
mixed$objaThe first object to compare
mixed$objbThe second object to compare
Returns:
int

Reimplemented from collatorlib_comparison.

Definition at line 790 of file textlib.class.php.


Field Documentation

$property [protected]

Definition at line 771 of file textlib.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations