Removing translation directories
[project/views.git] / modules / taxonomy / views_handler_argument_vocabulary_vid.inc
1 <?php
2
3 /**
4 * Argument handler to accept a vocabulary id.
5 */
6 class views_handler_argument_vocabulary_vid extends views_handler_argument {
7 /**
8 * Override the behavior of title(). Get the name of the user.
9 */
10 function title() {
11 $title = db_result(db_query("SELECT v.name FROM {vocabulary} v WHERE v.vid = %d", $this->argument));
12
13 if (empty($title)) {
14 return t('No vocabulary');
15 }
16
17 return check_plain($title);
18 }
19 }