views_handler_sort_is_locked.inc in Content locking (anti-concurrent editing) 7
Same filename and directory in other branches
Handler to identify if node is locked or not
File
views/views_handler_sort_is_locked.incView 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
Name | Description |
---|---|
views_handler_sort_is_locked | @file Handler to identify if node is locked or not |