Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
Public Member Functions | Data Fields
Dataface_SortControl Class Reference

Public Member Functions

 Dataface_SortControl ($fields, $prefix='')
 toHtml ()
 reverseSortOn ($fieldname)
 addParameter ($fieldname, $dir='asc')
 removeParameter ($fieldname)
 sortString ($params)

Data Fields

 $current_sort
 $fields
 $prefix
 $table

Detailed Description

Definition at line 2 of file SortControl.php.

Member Function Documentation

addParameter (   $fieldname,
  $dir = 'asc' 
)

Definition at line 102 of file SortControl.php.

Dataface_SortControl (   $fields,
  $prefix = '' 
)

Definition at line 7 of file SortControl.php.

removeParameter (   $fieldname)

Definition at line 108 of file SortControl.php.

reverseSortOn (   $fieldname)

Definition at line 95 of file SortControl.php.

sortString (   $params)

Definition at line 114 of file SortControl.php.

toHtml ( )

Definition at line 62 of file SortControl.php.

Field Documentation

$current_sort

Definition at line 3 of file SortControl.php.

$fields

Definition at line 4 of file SortControl.php.

$prefix

Definition at line 5 of file SortControl.php.

$table

Definition at line 6 of file SortControl.php.


The documentation for this class was generated from the following file: