Documentation

Sorter
in package

Sorter Class CRM

Tags
category

Sorter

subpackage

module_crm

author

ss4ugroup ss4ugroup@softsolutions4u.com

version
1.0.0
link
www.cloudrexx.com

Table of Contents

Properties

$backwards  : bool
Backwards
$numeric  : bool
Numeric
$sort_fields  : string
Sort fields

Methods

numericCompare()  : int
compare the numeric values
sort()  : array<string|int, mixed>
sort function
stringCompare()  : int
Compare the String

Properties

$backwards

Backwards

public bool $backwards = false
Tags
access

private

$numeric

Numeric

public bool $numeric = false
Tags
access

private

$sort_fields

Sort fields

public string $sort_fields
Tags
access

private

Methods

numericCompare()

compare the numeric values

public numericCompare(array<string|int, mixed> $a, array<string|int, mixed> $b) : int
Parameters
$a : array<string|int, mixed>
$b : array<string|int, mixed>
Return values
int

sort()

sort function

public sort() : array<string|int, mixed>
Return values
array<string|int, mixed>

stringCompare()

Compare the String

public stringCompare(array<string|int, mixed> $a, array<string|int, mixed> $b) : int
Parameters
$a : array<string|int, mixed>
$b : array<string|int, mixed>
Return values
int

        
On this page

Search results