You are here

ContentLockViewsHandlerSortLocked.inc in Content locking (anti-concurrent editing) 7.2

Same filename and directory in other branches
  1. 7.3 views/ContentLockViewsHandlerSortLocked.inc

Handler to identify if node is locked or not.

File

views/ContentLockViewsHandlerSortLocked.inc
View source
<?php

/**
 * @file
 * Handler to identify if node is locked or not.
 */

/**
 * Class ContentLockViewsHandlerSortLocked.
 */
class ContentLockViewsHandlerSortLocked extends views_handler_sort {

  /**
   * Query.
   */
  public function query() {
    $this
      ->ensure_my_table();
    $this->query
      ->add_orderby($this->table_alias, 'timestamp', $this->options['order']);
  }

}

Classes

Namesort descending Description
ContentLockViewsHandlerSortLocked Class ContentLockViewsHandlerSortLocked.