Property | Type | Description | |
---|---|---|---|
$columns | array | Which columns to render | |
$form | Horde_Form | A dummy form object. | |
$list | Turba_List | The Turba_List object that we are visualizing. | |
$renderer | Horde_Core_Ui_VarRenderer_Html | The HTML renderer. | |
$showEdit | boolean | Show/hide "edit" column in the display. | |
$showGroup | boolean | Show/hide "group" column in the display. | |
$showMark | boolean | Show/hide "mark" column in the display. | |
$showSort | boolean | Show/hide "sort" column in the display. | |
$showVcard | boolean | Show/hide "vcard" column in the display. | |
$type | string | Type of list. | |
$variables | array | A list of Horde_Form_Variable objects. | |
$vars | Horde_Variables | A Horde_Variables object. |
Method | Description | |
---|---|---|
__construct ( Turba_List $list, array $controls = null, array $columns = null ) : Turba_View_List | Constructs a new Turba_View_List object. | |
count ( ) : integer | Returns the number of Turba_Objects that are in the list. Use this to hide internal implementation details from client objects. | |
display ( ) | ||
getAddSources ( ) | ||
getAlpha ( integer &$numDisplayed, string $alpha ) : string | Renders the list contents that match $alpha into an HTML view. | |
getColumnName ( integer $i ) : string | Retrieves a column's name | |
getColumnSortDirection ( integer $i ) | ||
getColumnSortImage ( integer $i, string $title = null ) : string | ||
getPage ( integer &$numDisplayed, integer $min, integer $max = null, string $page ) : string | Renders the list contents into an HTML view. | |
getSortInfoForColumn ( integer $i ) | ||
getSortOrderDescription ( ) : string | Retrieves a natural language description of the sort order | |
getType ( ) : string | ||
isPrimarySortColumn ( integer $i ) : boolean | Determines whether this is the first column to sort by | |
isSortColumn ( integer $i ) : boolean | Determines whether we are sorting on the specified column | |
setControls ( array $controls ) | Set which controls are shown by the display templates. | |
setType ( string $type ) |
Method | Description | |
---|---|---|
_get ( integer &$numDisplayed, object $filter, string $page ) : string |
public __construct ( Turba_List $list, array $controls = null, array $columns = null ) : Turba_View_List | ||
$list | Turba_List | List of contacts to display. |
$controls | array | Which icons to display |
$columns | array | The list of columns to display |
return | Turba_View_List |
public getColumnName ( integer $i ) : string | ||
$i | integer | The zero-basd index of the column |
return | string |
public getColumnSortDirection ( integer $i ) | ||
$i | integer | The zero-based index of the column |
public getPage ( integer &$numDisplayed, integer $min, integer $max = null, string $page ) : string | ||
$numDisplayed | integer | Output parameter - the number of rows rendered. |
$min | integer | Minimum number of rows to display. |
$max | integer | Maximum number of rows to display. |
$page | string | The currently displayed page. |
return | string | HTML to echo. |
public getSortInfoForColumn ( integer $i ) | ||
$i | integer | The zero-based index of the column |
public getSortOrderDescription ( ) : string | ||
return | string |
public isPrimarySortColumn ( integer $i ) : boolean | ||
$i | integer | The zero-based column index |
return | boolean |
public isSortColumn ( integer $i ) : boolean | ||
$i | integer | The zero-based column index |
return | boolean |
public setControls ( array $controls ) | ||
$controls | array |
public Turba_List $list | ||
return | Turba_List |
public Horde_Core_Ui_VarRenderer_Html $renderer | ||
return | Horde_Core_Ui_VarRenderer_Html |
public bool $showEdit | ||
return | boolean |
public bool $showGroup | ||
return | boolean |
public bool $showMark | ||
return | boolean |
public bool $showSort | ||
return | boolean |
public bool $showVcard | ||
return | boolean |
public array $variables | ||
return | array |