first import 7.x-2.x-dev

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-11-20 16:21:31 +01:00
commit f3be35fe5e
21 changed files with 2421 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
/**
* @file
* Entity controller class.
*/
/**
* Controller class for feedback entries.
*
* This extends the DrupalDefaultEntityController class, adding required
* special handling for feedback objects.
*/
class FeedbackController extends DrupalDefaultEntityController {
protected function buildQuery($ids, $conditions = array(), $revision_id = FALSE) {
$query = parent::buildQuery($ids, $conditions, $revision_id);
// Specify an additional field from the user table.
$query->innerJoin('users', 'u', 'base.uid = u.uid');
$query->fields('u', array('name'));
return $query;
}
}