You are here

views_handler_field_block_visibility.inc in Views Hacks 6

Same filename and directory in other branches
  1. 7 views_block/handlers/views_handler_field_block_visibility.inc

File

views_block/handlers/views_handler_field_block_visibility.inc
View source
<?php

class views_handler_field_block_visibility extends views_handler_field {
  function render($values) {
    $strings = array(
      t('All except listed pages'),
      t('Only listed pages'),
      t('PHP code'),
    );
    return $strings[$values->{$this->field_alias}];
  }

}