/[drupal]/contributions/modules/simplelist/SimpleListFilterParent.php
ViewVC logotype

Contents of /contributions/modules/simplelist/SimpleListFilterParent.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Mon May 19 03:44:37 2008 UTC (18 months, 1 week ago) by jcfiala
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
File MIME type: text/x-php
#259764 by jcfiala: Fixed badly broken caching engine, and added tests to verify the fix.
1 <?php
2 // $Id$
3
4 abstract class SimpleListFilterParent {
5 protected $cache_engine;
6
7 public function __construct($cache_engine) {
8 $this->cache_engine = $cache_engine;
9 }
10
11 protected function get_sort_order_from_sort_data($sort_data) {
12 return ($sort_data == 'DESC' || $sort_data == 'ASC' ? $sort_data : '');
13 }
14
15 abstract public function get_node_list($simple_list, $count, $offset, $paged);
16 abstract public static function get_filter_form($simplelist);
17 abstract public static function get_filter_form_validate(&$form, &$form_state);
18 abstract public static function get_filter_form_submit($form_id, &$form_state);
19 abstract public static function clear_existing_settings($slid, $form_id='', &$form_state=NULL);
20 }
21 ?>

  ViewVC Help
Powered by ViewVC 1.1.2