Commit d1cff734 authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

Some documentation cleanup in views_handler_field_field.

parent 6eb7dfed
......@@ -33,7 +33,9 @@ function _field_view_formatter_options($field_type = NULL) {
}
/**
* A field that displays fields.
* A field that displays fieldapi fields.
*
* @ingroup views_field_handlers
*/
class views_handler_field_field extends views_handler_field {
/**
......@@ -43,7 +45,7 @@ class views_handler_field_field extends views_handler_field {
public $items = array();
/**
* Store the field informations.
* Store the field information.
* @var array
*/
public $field_info = array();
......@@ -103,6 +105,8 @@ function init(&$view, &$options) {
}
/**
* Check whether current user has access to this handler.
*
* @return bool
* Return TRUE if the user has access to view this field.
*/
......@@ -113,6 +117,9 @@ function access() {
/**
* Set the base_table and base_table_alias.
*
* @return string
* The base table which is used in the current view "context".
*/
function get_base_table() {
if (!isset($this->base_table)) {
......@@ -862,7 +869,7 @@ function set_items($values, $row_id) {
if (isset($render_array['#access'])) {
$items[$count]['rendered']['#access'] = $render_array['#access'];
}
// Only add the raw field items (for use in tokens) if the curent user
// Only add the raw field items (for use in tokens) if the current user
// has access to view the field content.
if ((!isset($items[$count]['rendered']['#access']) || $items[$count]['rendered']['#access']) && !empty($render_array['#items'][$count])) {
$items[$count]['raw'] = $render_array['#items'][$count];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment