This class provides list management helper methods.
package | SqueakyMindsPhpHelper_lists |
---|
ArrayToList(array $inArray, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
array
Single dimension array data to convert to a list.
string
(Optional) List delimiter.
string
ListAppend(string $inList, string $inValue, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List string.
string
List item to append.
string
(Optional) List delimiter.
string
ListChangeDelims(string $inList, string $inNewDelim, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List string.
string
New list delimiter.
string
(Optional) Old list delimiter.
string
ListDeleteAt(string $inList, integer $inPosition, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
integer
List item to remove.
string
(Optional) List delimiter.
string
ListFind(string $inList, string $inSubstr, string $inDelim = ","
) : integer
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List item to find.
string
(Optional) List delimiter.
integer
ListFirst(string $inList, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
(Optional) List delimiter.
string
ListGetAt(string $inList, integer $inPosition, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
integer
List position to retrieve.
string
(Optional) List delimiter.
string
ListInsertAt(string $inList, integer $inPosition, string $inValue, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
integer
List position to insert at.
string
List value to insert.
string
(Optional) List delimiter.
string
ListLast(string $inList, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
(Optional) List delimiter.
string
ListLen(string $inList, string $inDelim = ","
) : integer
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
(Optional) List delimiter.
integer
ListPrepend(string $inList, string $inValue, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List value to prepend.
string
(Optional) List delimiter.
string
ListQualify(string $inList, string $inQualifier, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
Qualifier.
string
(Optional) List delimiter.
string
ListRest(string $inList, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
(Optional) List delimiter.
string
ListSetAt(string $inList, string $inPosition, string $inValue, string $inDelim = ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List position modify.
string
List value to set.
string
(Optional) List delimiter.
string
ListSort(string $inList, string $inSortType, string $inSortOrder= "ASC"
, string $inDelim= ","
) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List sort type. NUMERIC, TEXT, TEXTNOCASE
string
(Optional) List sort order.
string
(Optional) List delimiter.
string
ListToArray(string $inList, string $inDelim = ","
) : array
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
(Optional) List delimiter.
array
ListValueCount(string $inList, string $inValue, string $inDelim = ","
) : integer
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List item to find.
string
(Optional) List delimiter.
integer
ListValueCountNoCase(string $inList, string $inValue, string $inDelim = ","
) : integer
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List item to find.
string
(Optional) List delimiter.
integer
PrepListAsList(string $inList, string $inDelim) : string
method | |
---|---|
access | public |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List delimiter.
string
listFuncs_PrepListAsArray(string $inList, string $inDelim) : array
method | |
---|---|
access | private |
author | The Fusebox Corporation. |
copyright | Copyright (c) 2003 The Fusebox Corporation. All rights reserved. |
version | 1.0 |
string
List to modify.
string
List delimiter.
array