Static Public Member Functions | |
static | regularizeList ($ids, $objects) |
orders $objects list by $ids order | |
static | convertObjectList ($list=null) |
static | getIdsArray ($objectsList) |
static & | convertToPlainList ($list, $key) |
static | getArrayVar (&$array, $var) |
static | columnFromSet ($column, $array) |
static | mergeUnique () |
static | countNonemptyValues ($array) |
static | isEmpty (array $array) |
static | flatToDimensional ($array) |
in: array(1, 2, 3, 4) out: array(1 => array(2 => array(3 => 4))) | |
static | mergeRecursiveUnique ($one, $two) |
static | getMirrorValues ($array) |
static | mergeSortedLists ($list1, $list2, Comparator $comparator, $compareValueGetter=null, $limit=null) |
Definition at line 15 of file ArrayUtils.class.php.
static ArrayUtils::columnFromSet | ( | $ | column, | |
$ | array | |||
) | [static] |
Definition at line 85 of file ArrayUtils.class.php.
References Assert::isArray().
static ArrayUtils::convertObjectList | ( | $ | list = null |
) | [static] |
Definition at line 34 of file ArrayUtils.class.php.
Referenced by regularizeList().
static& ArrayUtils::convertToPlainList | ( | $ | list, | |
$ | key | |||
) | [static] |
Definition at line 65 of file ArrayUtils.class.php.
static ArrayUtils::countNonemptyValues | ( | $ | array | ) | [static] |
Definition at line 111 of file ArrayUtils.class.php.
References Assert::isArray().
static ArrayUtils::flatToDimensional | ( | $ | array | ) | [static] |
in: array(1, 2, 3, 4) out: array(1 => array(2 => array(3 => 4)))
Definition at line 136 of file ArrayUtils.class.php.
References Assert::isArray().
static ArrayUtils::getArrayVar | ( | &$ | array, | |
$ | var | |||
) | [static] |
Definition at line 75 of file ArrayUtils.class.php.
Referenced by PrimitiveRange::importSingle().
static ArrayUtils::getIdsArray | ( | $ | objectsList | ) | [static] |
Definition at line 47 of file ArrayUtils.class.php.
References Assert::isInstance().
Referenced by PrimitiveIdentifierList::exportValue(), PrimitiveEnumerationList::exportValue(), ProtoDAO::fetchCollections(), PrimitiveIdentifierList::importValue(), PrimitiveEnumerationList::importValue(), and OneToManyLinkedFull::sync().
static ArrayUtils::getMirrorValues | ( | $ | array | ) | [static] |
Definition at line 182 of file ArrayUtils.class.php.
References Assert::isArray(), and Assert::isTrue().
static ArrayUtils::isEmpty | ( | array $ | array | ) | [static] |
Definition at line 123 of file ArrayUtils.class.php.
static ArrayUtils::mergeRecursiveUnique | ( | $ | one, | |
$ | two | |||
) | [static] |
Definition at line 151 of file ArrayUtils.class.php.
References Assert::isArray().
Referenced by ApplicationUrl::addApplicationScope(), ApplicationUrl::addUserScope(), ApplicationUrl::currentHref(), and ApplicationUrl::scopeHref().
static ArrayUtils::mergeSortedLists | ( | $ | list1, | |
$ | list2, | |||
Comparator $ | comparator, | |||
$ | compareValueGetter = null , |
|||
$ | limit = null | |||
) | [static] |
Definition at line 201 of file ArrayUtils.class.php.
References Comparator::compare().
static ArrayUtils::mergeUnique | ( | ) | [static] |
Definition at line 97 of file ArrayUtils.class.php.
References Assert::isArray().
static ArrayUtils::regularizeList | ( | $ | ids, | |
$ | objects | |||
) | [static] |
orders $objects list by $ids order
Definition at line 18 of file ArrayUtils.class.php.
References convertObjectList().
Referenced by GenericDAO::getListByIds().