• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

plugins/views_wizard/comment.inc

Go to the documentation of this file.
00001 <?php
00002 
00008 // Parent plugin.
00009 if (module_exists('comment')) {
00010   $plugin = array(
00011     'name' => 'comment',
00012     'base_table' => 'comment',
00013     'created_column' => 'created',
00014     'form_wizard_class' => array(
00015       'file' => 'views_ui_comment_views_wizard.class.php',
00016       'class' => 'ViewsUiCommentViewsWizard',
00017     ),
00018     'title' => t('Comments'),
00019     'filters' => array(
00020       'status' => array(
00021         'value' => COMMENT_PUBLISHED,
00022         'table' => 'comment',
00023         'field' => 'status',
00024       ),
00025       'status_node' => array(
00026         'value' => NODE_PUBLISHED,
00027         'table' => 'node',
00028         'field' => 'status',
00029         'relationship' => 'nid',
00030       ),
00031     ),
00032     'path_field' => array(
00033       'id' => 'cid',
00034       'table' => 'comment',
00035       'field' => 'cid',
00036       'exclude' => TRUE,
00037       'link_to_comment' => FALSE,
00038       'alter' => array(
00039         'alter_text' => 1,
00040         'text' => 'comment/[cid]#comment-[cid]',
00041       ),
00042     ),
00043   );
00044 }

Generated on Sun Feb 26 2012 12:52:52 for Views by  doxygen 1.7.1