function _cctags_get_select_list in cctags 6
Same name and namespace in other branches
- 8 cctags.module \_cctags_get_select_list()
- 7 cctags.module \_cctags_get_select_list()
7 calls to _cctags_get_select_list()
- cctags_block in ./
cctags.module - implementation of hook_block
- cctags_get_level_tags in ./
cctags.module - Function that gets the information from the database, passes it along to the weight builder and returns these weighted tags. Note that the tags are unordered at this stage, hence they need orndering either by calling our api or by your own ordering data.
- cctags_page in ./
cctags.page.inc - @file
- cctags_settings in ./
cctags.admin.inc - @file
- cctags_settings_item in ./
cctags.admin.inc
File
- ./
cctags.module, line 730
Code
function _cctags_get_select_list($type) {
$list = array();
switch ($type) {
case 'numtags':
$list = array(
0,
4,
6,
8,
10,
12,
14,
16,
18,
20,
24,
28,
32,
40,
50,
60,
100,
);
break;
case 'level':
$list = array(
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
);
break;
case 'amount_tags':
$list = array(
0,
6,
12,
14,
16,
18,
20,
24,
28,
32,
40,
50,
60,
100,
120,
150,
200,
300,
400,
500,
600,
900,
1400,
);
break;
case 'amount_user':
$list = array(
0,
5,
10,
15,
20,
30,
40,
50,
70,
100,
150,
200,
350,
300,
);
break;
}
return $list;
}