D7net Mini Sh3LL v1
Current File : /var/www/html/hpsc/../marc-drupal/sites/all/modules/views/handlers/views_handler_sort_random.inc |
<?php
/**
* @file
* Definition of views_handler_sort_random.
*/
/**
* Handle a random sort.
*
* @ingroup views_sort_handlers
*/
class views_handler_sort_random extends views_handler_sort {
function query() {
$this->query->add_orderby('rand');
}
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['order']['#access'] = FALSE;
}
}
AnonSec - 2021 | Recode By D7net