projects
/
civicrm-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge pull request #4693 from jaapjansma/CRM-15702
[civicrm-core.git]
/
Civi
/
CiUtil
/
Arrays.php
1
<
?php
2
namespace
Civi\CiUtil
;
3
4
class
Arrays
{
5
static function
collect
(
$arr
,
$col
) {
6
$r
=
array
();
7
foreach
(
$arr
as
$k
=>
$item
) {
8
$r
[
$k
] =
$item
[
$col
];
9
}
10
return
$r
;
11
}
12
}