PhpExt : Grid [ class tree ] [ index ] [ all elements ]

Class: PhpExt_Grid_RowSelectionModel

Source Location: /PhpExt/Grid/RowSelectionModel.php

Class PhpExt_Grid_RowSelectionModel

Class Overview

The default SelectionModel used by PhpExt_Grid_GridPanel. It supports multiple selections and keyboard selection/navigation. The objects stored as selections and returned by getSelected, and getSelections are the Records which provide the data for the selected rows.

Located in /PhpExt/Grid/RowSelectionModel.php [line 24]

PhpExt_Object
   |
   --PhpExt_Observable
      |
      --PhpExt_Grid_AbstractSelectionModel
         |
         --PhpExt_Grid_RowSelectionModel

Methods

[ Top ]
Descendants
Child Class Description
PhpExt_Grid_CheckboxSelectionModel A custom selection model that renders a column of checkboxes that can be toggled to select or deselect rows.

[ Top ]
Method Summary
PhpExt_Grid_RowSelectionModel   __construct()  
boolean   getSingleSelect()   True to allow selection of only one row at a time (defaults to false)
PhpExt_Grid_RowSelectionModel   setSingleSelect()   True to allow selection of only one row at a time (defaults to false)

[ Top ]
Methods
Constructor __construct  [line 45]

  PhpExt_Grid_RowSelectionModel __construct( )


API Tags:
Access:  public


Redefinition of:
PhpExt_Grid_AbstractSelectionModel::__construct()

Redefined in descendants as:

[ Top ]
getSingleSelect  [line 40]

  boolean getSingleSelect( )

True to allow selection of only one row at a time (defaults to false)


API Tags:
Access:  public


[ Top ]
setSingleSelect  [line 32]

  PhpExt_Grid_RowSelectionModel setSingleSelect( boolean $value  )

True to allow selection of only one row at a time (defaults to false)

Parameters:
boolean   $value: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:58:59 -0500 by phpDocumentor 1.4.0