| Amiro.Ru / Manual | |||||||
|
Packages:
DB Debug Driver_PaymentSystem Environment Library Module ModuleComponent Package Plugin Plugin_AJAXResponder Plugin_Sample Service Template TxCommand TxService Hyper_AmiCatalog Hyper_AmiClean Hyper_AmiEshopShipping Hyper_AmiExt Hyper_AmiFiles Hyper_AmiMultifeeds Hyper_AmiSearch Hyper_AmiUsers Config_AmiCatalog_Items Config_AmiClean_AmiNewsList Config_AmiClean_AmiSample Config_AmiClean_EshopOrder Config_AmiClean_Webservice Config_AmiEshopShipping_Fields Config_AmiEshopShipping_Methods Config_AmiEshopShipping_Types Config_AmiFake_AmiroPayDrvExample Config_AmiFiles_Files Config_AmiMultifeeds_Articles Config_AmiMultifeeds_Blog Config_AmiMultifeeds_FAQ Config_AmiMultifeeds_News Config_AmiMultifeeds_PhotoGallery Config_AmiMultifeeds_Stickers Config_AmiUsers_Users Module_Catalog Module_Pages Module_Sample Module_SearchHistory
Classes:
|
Loading search... The AMI_Lib_Array class• IntroductionArray library. • Class synopsis
AMI_Lib_Array
{
/* Methods */
// Inserts data into array after/before specified position.
// Prepends prefix for each array key.
// Renames key in associative array.
public
static
renameKey ( &$aArray, string $from, string $to, [ bool $preserve = FALSE ], [ bool $recursive = FALSE ] ) returns void;
// Sort an array by column preserving row keys.
public
static
sortMultiArrayPreserveKeys ( &$aArray, int|string $sortCol, [ int $sort = SORT_STRING ], [ int $direction = SORT_ASC ] ) returns void;
// Swap two array elements and returns true if swapped.
// Sort an array by column.
public
sortMultiArray ( &$aArray, int|string $sortCol, [ int $sort = SORT_STRING ], [ int $direction = SORT_ASC ] ) returns void;
}
Tags:
• Class Methods// Inserts data into array after/before specified position.
// Prepends prefix for each array key.
Tags:
// Renames key in associative array.
public
static
renameKey ( &$aArray, string $from, string $to, [ bool $preserve = FALSE ], [ bool $recursive = FALSE ] ) returns void;
Tags:
// Sort an array by column preserving row keys.
public
static
sortMultiArrayPreserveKeys ( &$aArray, int|string $sortCol, [ int $sort = SORT_STRING ], [ int $direction = SORT_ASC ] ) returns void;
// Swap two array elements and returns true if swapped.
// Sort an array by column.
public
sortMultiArray ( &$aArray, int|string $sortCol, [ int $sort = SORT_STRING ], [ int $direction = SORT_ASC ] ) returns void;
|