You are here

views_handler_sort_is_locked.inc in Content locking (anti-concurrent editing) 6.2

Handler to identify if node is locked or not

File

views/views_handler_sort_is_locked.inc
View source
<?php

/* -*- mode: php; indent-tabs-mode: nil; tab-width: 2; -*- */

/**
 * @file
 * Handler to identify if node is locked or not
 */
class views_handler_sort_is_locked extends views_handler_sort {
  function query() {
    $this
      ->ensure_my_table();
    $this->query
      ->add_orderby($this->table_alias, 'timestamp', $this->options['order']);
  }

}

Classes

Namesort descending Description
views_handler_sort_is_locked @file Handler to identify if node is locked or not