프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
__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 ) |
메소드 | 설명 | |
---|---|---|
_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 |
리턴 | Turba_View_List |
public getColumnName ( integer $i ) : string | ||
$i | integer | The zero-basd index of the column |
리턴 | 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. |
리턴 | string | HTML to echo. |
public getSortInfoForColumn ( integer $i ) | ||
$i | integer | The zero-based index of the column |
public getSortOrderDescription ( ) : string | ||
리턴 | string |
public isPrimarySortColumn ( integer $i ) : boolean | ||
$i | integer | The zero-based column index |
리턴 | boolean |
public isSortColumn ( integer $i ) : boolean | ||
$i | integer | The zero-based column index |
리턴 | boolean |
public setControls ( array $controls ) | ||
$controls | array |
public Turba_List $list | ||
리턴 | Turba_List |
public Horde_Core_Ui_VarRenderer_Html $renderer | ||
리턴 | Horde_Core_Ui_VarRenderer_Html |