projects
/
com.zyxware.civiwci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'Jagadees-zyxware-master'
[com.zyxware.civiwci.git]
/
wci-helper-functions.php
1
<
?php
2
3
function
getContributionPageOptions
() {
4
$options
=
array
(
5
''
=>
ts
(
'- select -'
),
6
);
7
8
$result
=
civicrm_api3
(
'contribution_page'
,
'get'
);
9
foreach
(
$result
[
'values'
]
as
$contribution_page
) {
10
$options
[
$contribution_page
[
'id'
]] =
$contribution_page
[
'title'
];
11
}
12
13
return
$options
;
14
}