Property | Type | Description | |
---|---|---|---|
$_sortpref | array | The sortpref value. |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
gc ( ) | Garbage collection. | |
getIterator ( ) | * IteratorAggregate method. | |
newSortbyValue ( integer $sortby ) : integer | Get the new sortby pref value for IMP 5. | |
offsetExists ( $offset ) | * ArrayAccess methods. | |
offsetGet ( $offset ) | ||
offsetSet ( string $offset, array $value ) | Alter a sortpref entry. | |
offsetUnset ( $offset ) | ||
upgradePrefs ( ) | Upgrade the preference from IMP 4 value. |
Method | Description | |
---|---|---|
_offsetGet ( $offset ) | ||
_save ( ) | Save the preference to the backend. |
public newSortbyValue ( integer $sortby ) : integer | ||
$sortby | integer | The old (IMP 4) value. |
return | integer | Null if no change or else the converted sort value. |