$listitem->Attributes->Group="Group Name";
or in template
Afficher le fichier
Open project: pradosoft/prado
Class Usage Examples
Méthode | Description | |
---|---|---|
getDataChanged ( ) : boolean | Returns a value indicating whether postback has caused the control data change. | |
getIsValid ( ) : boolean | Returns true if this control validated successfully. | |
getRows ( ) : integer | ||
getSelectionMode ( ) : |
||
getValidationPropertyValue ( ) : mixed | Returns the value to be validated. | |
loadPostData ( $key, $values ) : boolean | Loads user input data. | |
onPreRender ( $param ) | Registers the list control to load post data on postback. | |
raisePostDataChangedEvent ( ) | Raises postdata changed event. | |
setIsValid ( $value ) | ||
setRows ( $value ) | ||
setSelectionMode ( $value ) |
Méthode | Description | |
---|---|---|
addAttributesToRender ( $writer ) | Adds attribute name-value pairs to renderer. | |
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getIsMultiSelect ( ) : boolean |
protected addAttributesToRender ( $writer ) |
protected getClientClassName ( ) : string | ||
Résultat | string | the javascript class name |
public getDataChanged ( ) : boolean | ||
Résultat | boolean | whether postback has caused the control data change. False if the page is not in postback mode. |
protected getIsMultiSelect ( ) : boolean | ||
Résultat | boolean | whether this control allows multiple selection |
public getIsValid ( ) : boolean | ||
Résultat | boolean | wether this control validated successfully. |
public getSelectionMode ( ) : |
||
Résultat | the selection mode (Single, Multiple). Defaults to TListSelectionMode::Single. |
public getValidationPropertyValue ( ) : mixed | ||
Résultat | mixed | the value of the property to be validated. |
public loadPostData ( $key, $values ) : boolean | ||
Résultat | boolean | whether the data of the component has been changed |
public onPreRender ( $param ) |
public raisePostDataChangedEvent ( ) |